Magento Coding Standard (PHPCS) report for gdw/rmproductsbyskupath ================================================================== Package version: 4.4.3 | Magento: 2.4.9 | Tested: 2026-06-07 2 errors, 61 warnings in 4 files Helper/GdwModuleMeta.php 6:1 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 8:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 8:9 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 9:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 19:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Console/Command/RemoveProducts.php 18:1 warning There must be one blank line after the last USE statement; 3 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:21 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:26 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:53 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 46:69 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 49:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 53:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 54:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 55:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 57:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 60:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 80:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 87:9 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 96:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 96:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 96:40 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 99:17 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 99:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 99:55 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 101:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 115:25 warning Line indented incorrectly; expected 20 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 116:29 warning Line indented incorrectly; expected 24 spaces, found 28 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 118:29 warning Line indented incorrectly; expected 24 spaces, found 28 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 120:25 warning Line indented incorrectly; expected 20 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 124:17 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 124:18 warning Expected "} else {\n"; found "}else{\n" (PEAR.ControlStructures.ControlSignature.Found) 124:18 warning Expected 1 space after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 127:13 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 127:14 warning Expected "} else {\n"; found "}else{\n" (PEAR.ControlStructures.ControlSignature.Found) 127:14 warning Expected 1 space after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 130:9 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 130:10 warning Expected "} else {\n"; found "}else{\n" (PEAR.ControlStructures.ControlSignature.Found) 130:10 warning Expected 1 space after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 136:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 141:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 141:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 141:79 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 147:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 150:39 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 152:63 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 154:39 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 155:13 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 160:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) etc/module.xml 3:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 4:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 5:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 6:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 7:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 8:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) registration.php 2:1 warning There must be one blank line after the last USE statement; 0 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 3:93 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)