Magento Coding Standard (PHPCS) report for rollpix/module-image-flip-hover ========================================================================== Package version: 2.1.0 | Magento: 2.4.9 | Tested: 2026-06-25 2 errors, 107 warnings in 16 files Plugin/Product/ImagePlugin.php 76:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 93:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Plugin/Product/CollectionPlugin.php 66:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 75:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Plugin/Block/Product/ImagePlugin.php 64:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 79:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 85:24 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 87:23 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 129:85 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 141:29 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 182:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 189:35 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 190:41 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 200:85 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 200:120 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 226:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 227:17 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 228:17 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 229:17 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 230:17 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 231:17 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 239:82 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 239:137 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) 253:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 260:35 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 261:41 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 271:85 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 271:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 282:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Helper/Config.php 31:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 131:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 132:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 144:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 145:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 157:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 158:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 162:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) 317:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 318:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 326:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 327:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 335:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 336:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 348:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 349:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 361:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 362:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 375:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 376:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 428:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 429:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 446:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 447:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 460:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 461:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 473:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 474:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 486:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 487:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 500:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 501:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 513:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 514:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 552:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) Model/ImageFlipService.php 122:13 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 122:123 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 169:13 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 169:118 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 219:33 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 318:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 522:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 575:12 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 679:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 726:56 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 738:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 810:80 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 862:83 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 902:79 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/ImageRoles.php 72:60 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/IndicatorType.php 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/HoverMode.php 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/DesktopNavigationType.php 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/IndicatorPosition.php 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/TransitionType.php 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Config/Source/MobileNavigationType.php 14:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) view/frontend/templates/product/image_with_flip.phtml 52:123 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) view/frontend/web/js/hover-slider.js 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) HyvaCompat/view/frontend/templates/js/init-hyva.phtml 43:1 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 132:1 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 160:1 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 227:1 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 228:1 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 265:1 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 268:1 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong) 300:1 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/System/Config/ModuleVersion.php 20:41 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:18 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 57:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)