Magento Coding Standard (PHPCS) report for shellpea/magento-advanced-elasticsuite-catalog ========================================================================================= Package version: 1.2.11 | Magento: 2.4.9 | Tested: 2026-07-14 27 errors, 111 warnings in 24 files Plugin/AddSliderToolbarOptions.php 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/AddCatalogToolbarOptions.php 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 35:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Plugin/AfterSearchView.php 35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/AfterCategoryView.php 37:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/AddAjaxToCache.php 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Provider/Config.php 8:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) Model/AjaxResponse.php 21:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 27:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 33:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 39:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 45:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 60:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 69:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 69:12 warning $swatchHelper parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 121:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 131:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 165:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 167:15 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 194:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 208:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 222:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 235:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 248:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 249:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 266:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 277:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 292:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 302:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) view/frontend/templates/swatch/product/listing/renderer.phtml 36:75 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 37:42 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 154:13 warning Line indented incorrectly; expected at least 16 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/swatch/product/layered/renderer.phtml 90:81 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/catalog/layer/view.phtml 48:90 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 48:148 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/catalog/layer/filter/attribute.phtml 15:13 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 16:14 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 21:30 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 22:31 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 23:33 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 24:33 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 25:39 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 124:1 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 173:1 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 231:88 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/catalog/layer/filter/default.phtml 12:18 warning The use of helpers in templates is discouraged. Use ViewModel instead. (Magento2.Templates.ThisInTemplate.FoundHelper) 12:18 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 17:81 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 23:31 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 29:1 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/catalog/layer/filter/slider.phtml 13:13 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) 68:59 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 75:54 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 76:69 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 77:62 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 148:1 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 217:1 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 239:40 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 256:1 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 369:25 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/configuration.phtml 20:33 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 45:33 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 45:65 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 47:33 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 47:131 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 47:142 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 50:35 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 52:42 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 56:1 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 141:1 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) 221:1 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/helper/summary_short.phtml 61:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 62:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/helper/summary.phtml 44:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 45:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/pager/pager.phtml 60:1 warning Line exceeds 120 characters; contains 182 characters (Generic.Files.LineLength.TooLong) 72:5 warning Line indented incorrectly; expected at least 8 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 102:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 119:87 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 136:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 141:129 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 149:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 158:123 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 170:199 warning Line exceeds 120 characters; contains 199 characters (Generic.Files.LineLength.TooLong) 181:137 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 190:183 warning Line exceeds 120 characters; contains 183 characters (Generic.Files.LineLength.TooLong) 195:137 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 204:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 212:126 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 223:146 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) 228:152 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 237:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/product/list/toolbar.phtml 14:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 32:93 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 99:132 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 102:137 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 103:135 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/product/list/item.phtml 36:24 warning The use of $this in templates is deprecated. Use $block instead. (Magento2.Templates.ThisInTemplate.FoundThis) view/frontend/templates/product/list.phtml 63:47 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 63:73 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 65:132 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 66:194 warning Line exceeds 120 characters; contains 195 characters (Generic.Files.LineLength.TooLong) 67:173 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 69:149 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) 75:145 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) Block/ListProduct.php 27:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 52:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 54:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 82:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 92:124 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 124:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 132:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 151:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 167:130 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) Block/Product/ReviewRenderer.php 14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) Block/AdvancedCatalog.php 22:4 warning Tag @package 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) 27: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) 47:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 53:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 83:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 83:12 warning $swatchHelper parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 124:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 127:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:15 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 150:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 159:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 169:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Block/Swatches/RenderLayered.php 14:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 26:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:15 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc)