Magento Coding Standard (PHPCS) report for yireo/magento2-webp2 =============================================================== Package version: 0.14.3 | Magento: 2.4.9 | Tested: 2026-05-27 52 warnings in 12 files Convertor/Convertor.php 60:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 88:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 89:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Convertor/ConvertWrapper.php 33:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 41:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:9 warning Expected "foreach (...) {\n"; found "foreach (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 51:62 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 66:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 67:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/AddCspInlineScripts.php 10:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/Encoding.php 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) view/frontend/templates/test/multiple_images_same.phtml 1:200 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:237 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:362 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 1:587 warning Line exceeds 120 characters; contains 592 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/test/multiple_images.phtml 1:200 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:239 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:365 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 1:643 warning Line exceeds 120 characters; contains 648 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/test/multiple_existing_picturesets.phtml 1:200 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:239 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:261 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 1:319 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:653 warning Line exceeds 120 characters; contains 658 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/test/image_with_custom_style.phtml 1:200 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:237 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:259 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 1:317 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 1:607 warning Line exceeds 120 characters; contains 612 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/test/unknown_image.phtml 1:287 warning Line exceeds 120 characters; contains 292 characters (Generic.Files.LineLength.TooLong) view/adminhtml/templates/funding.phtml 7:1 warning Line exceeds 120 characters; contains 1336 characters (Generic.Files.LineLength.TooLong) Config/Config.php 47:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 102:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 103:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 121:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 122:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 138:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 139:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Config/Frontend/Funding.php 10:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany)