Magento Coding Standard (PHPCS) report for web200/magento-mod-web200_image-resize ================================================================================= Package version: v1.1.12 | Magento: 2.4.9 | Tested: 2026-05-27 1 error, 181 warnings in 23 files ViewModel/ImageResize.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) ViewModel/ImageDisplay.php 18:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 24:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 52:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 53:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 69:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/Svg/ValidateSvgFile.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 19:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 25:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 61:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 65:17 warning The use of function filesize() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Plugin/Svg/SanitizeSvgUpload.php 15:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 21:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 24:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 44:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 44:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 46:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 80:25 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 83:13 warning The use of function file_put_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 107:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 108:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 123:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 123:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 124:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/Svg/AuthorizeSvgUploadCms.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 22:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 42:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 42:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 43:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/Svg/AuthorizeSvgUploadDesign.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 22:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 42:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 42:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 43:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/Svg/DontGenerateSwatch.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 15:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 40:26 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Plugin/Svg/AuthorizeSvgUploadValidator.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 22:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 42:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 42:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 43:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/Svg/DontResizeStorageImage.php 19:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:4 warning Tag @author 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) 28:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 34:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 40:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 82:26 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 96:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 97:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 114:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 114:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 115:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 124:22 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Plugin/Svg/AuthorizeSvgUploader.php 12:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 13:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 23:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 24:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/AddDefaultPlaceholderImage.php 12:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Helper/ImageResize.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 15:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) Helper/ImageDisplay.php 14:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 15:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 20:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 23:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) Provider/Config.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 14:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 19:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 284:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/WebpConvertor.php 23:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 24:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 32:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 50:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 114:22 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 132:14 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 166:22 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 168:22 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 172:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 173:20 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Config/Source/Converters.php 12:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 13:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Model/Cache.php 16:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 17:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 22:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Model/Display.php 15:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 21:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 24:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 30:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 36:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 42:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 48:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 94:8 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 134:278 warning Line exceeds 120 characters; contains 278 characters (Generic.Files.LineLength.TooLong) 162:292 warning Line exceeds 120 characters; contains 292 characters (Generic.Files.LineLength.TooLong) 178:23 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 183:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 184:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 184:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 185:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 186:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 187:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 191:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 209:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 225:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 226:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 233:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 234:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Resize.php 22:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 23:4 warning Tag @author MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 28:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 55:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 61:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 67:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 73:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 79:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 126:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 151:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 157:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 163:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 217:126 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 219:21 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 219:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 230:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 251:30 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 256:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 322:35 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 323:35 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 458:96 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 458:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 500:28 warning The use of function fopen() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileOpen() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 504:13 warning The use of function fseek() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileSeek() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 507:13 warning The use of function fread() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 508:13 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 515:17 warning The use of function feof() is discouraged; use Magento\Framework\Filesystem\DriverInterface::endOfFile() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 516:17 warning The use of function fread() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 518:21 warning The use of function fread() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 518:58 warning The use of function fread() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 524:9 warning The use of function fclose() is discouraged; use Magento\Framework\Filesystem\DriverInterface::fileClose() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 529:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 530:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 537:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 538:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Cache/CleanResizedImages.php 21:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 22:4 warning Tag @author 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) view/adminhtml/templates/system/cache/additional.phtml 13:35 warning Short echo tag syntax must be used; expected "