Magento Coding Standard (PHPCS) report for sanjeev-kr/magento2-export-products ============================================================================== Package version: 2.0.2 | Magento: 2.4.9 | Tested: 2026-06-07 70 warnings in 6 files Plugin/Model/Export/Consumer.php 19:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 20:1 warning Expected 0 spaces before opening brace; 1 found (PSR2.Classes.ClassDeclaration.SpaceBeforeBrace) 60:8 warning $logger parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 62:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 62:12 warning $hydrator parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 62:12 warning $serializer parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 81:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 82:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 85:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 85:12 warning $subject parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 99:10 warning Line indented incorrectly; expected 12 spaces, found 9 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 111:1 warning Multi-line function call not indented correctly; expected 20 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 112:17 warning Line indented incorrectly; expected at least 19 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) 113:13 warning Closing brace indented incorrectly; expected 9 spaces, found 12 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 123:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) Model/Export/Product.php 1:1 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 10:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 10:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 10:12 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 22:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 22:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 22:9 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 23:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 24:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 24:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 25:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 25:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 26:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 26:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) etc/adminhtml/routes.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) etc/module.xml 16:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Controller/Adminhtml/Export/Export.php 22:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 25:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 68:8 warning $fileFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 69:8 warning $sessionManager parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 70:8 warning $publisher parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 72:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 72:12 warning $filter parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 72:12 warning $collectionFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 98:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 103:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 106:9 warning Expected 1 space after TRY keyword; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 106:12 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 126:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 127:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 128:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 129:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 130:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 131:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 132:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 139:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 153:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 158:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Controller/Adminhtml/Export/Instant.php 24:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 27:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 52:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 53:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 71:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 79:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 92:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 93:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 100:9 warning Expected 1 space after TRY keyword; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 100:12 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 137:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 142:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody)