Magento Coding Standard (PHPCS) report for nathanday/module-catalog-images-clean ================================================================================ Package version: 1.0.2 | Magento: 2.4.9 | Tested: 2026-05-26 60 warnings in 3 files Command/CleanCommand.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 96:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 97:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 234:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 235:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 389:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 390:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Command/InfoCommand.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 137:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 138:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 167:8 warning $output parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 167:8 warning $input parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 173:15 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 249:17 warning Line indented incorrectly; expected at least 20 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) Command/AbstractCommand.php 24:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 26:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 41:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 42:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 43:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 44:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 108:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 112:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 126:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 127:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 134:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 135:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 154:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 155:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 164:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 165:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 182:39 warning The use of function filesize() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 191:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 192:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 200:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 201:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 218:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 219:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 240:17 warning Line indented incorrectly; expected at least 20 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.Incorrect) 268:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 269:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 290:13 warning The use of function var_dump() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 322:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 323:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 338:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 339:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 354:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 355:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 362:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 363:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 363:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 374:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 375:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 397:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 398:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)