Magento Coding Standard (PHPCS) report for reviewscouk/reviews ============================================================== Package version: 0.0.75 | Magento: 2.4.9 | Tested: 2026-07-31 51 errors, 318 warnings in 20 files Helper/Config.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 32:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 39:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 50:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 55:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 65:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 70:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 75:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 80:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 85:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 95:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 100:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 105:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 110:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 115:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 120:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 132:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 133:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 133:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 134:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Helper/Data.php 11:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Api.php 12:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:15 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 35:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 36:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 44:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 45:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 46:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 47:21 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 48:9 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 53:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Config/Source/InvitationTrigger.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Observer/UpdateProductFeed.php 12:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 52:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) Observer/SendOrderDetails.php 15:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Function's nesting level (6) exceeds 5; consider refactoring the function (Generic.Metrics.NestingLevel.TooHigh) 78:189 warning Line exceeds 120 characters; contains 189 characters (Generic.Files.LineLength.TooLong) 80:22 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 132:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) etc/adminhtml/system.xml 18:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 19:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 21:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 23:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 25:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 26:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 27:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 28:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 30:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 31:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 32:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 77:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 78:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 100:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 102:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 103:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 190:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 192:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 193:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 194:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) registration.php 6:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Index/API.php 14:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:1 warning Multi-line function declaration not indented correctly; expected 4 spaces but found 5 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 31:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 43:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:9 warning The use of function ob_start() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 61:9 warning The use of function set_time_limit() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 69:36 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 69:53 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 70:40 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 70:67 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 71:45 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 71:61 error Direct use of $_GET Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 74:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 74:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 75:15 warning Line indented incorrectly; expected at least 16 spaces, found 14 (Generic.WhiteSpace.ScopeIndent.Incorrect) 75:15 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 75:32 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 76:15 warning Line indented incorrectly; expected at least 16 spaces, found 14 (Generic.WhiteSpace.ScopeIndent.Incorrect) 76:15 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 86:191 warning Line exceeds 120 characters; contains 191 characters (Generic.Files.LineLength.TooLong) 95:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 96:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 100:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 123:13 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 123:30 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 124:13 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 127:11 warning Line indented incorrectly; expected at least 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.Incorrect) 127:11 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 127:28 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 128:11 warning Line indented incorrectly; expected at least 12 spaces, found 10 (Generic.WhiteSpace.ScopeIndent.Incorrect) 128:11 error Use of die language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) Controller/Index/Feed.php 25:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 32:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 34:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 49:9 warning This comment is 86% valid code; is this commented out code? (Squiz.PHP.CommentedOutCode.Found) 63:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 76:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 91:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 111:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 114:9 warning The use of function ob_start() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 115:9 warning The use of function set_time_limit() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 136:44 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 136:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 137:63 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 137:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 139:44 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 139:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 140:68 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 140:184 warning Line exceeds 120 characters; contains 184 characters (Generic.Files.LineLength.TooLong) 148:19 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 158:61 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 160:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 169:191 warning Line exceeds 120 characters; contains 191 characters (Generic.Files.LineLength.TooLong) 190:137 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 191:152 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 196:122 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 197:165 warning Line exceeds 120 characters; contains 177 characters (Generic.Files.LineLength.TooLong) 208:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 234:13 warning This comment is 100% valid code; is this commented out code? (Squiz.PHP.CommentedOutCode.Found) 236:13 error Use of print language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) view/frontend/templates/rich_snippet.phtml 3:31 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 4:14 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/product/questions_widget.phtml 5:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 7:63 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 7:84 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 7:84 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 11:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 12:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 12:97 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 16:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/product/review_widget.phtml 6:1 warning Line indented incorrectly; expected 8 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 7:67 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 9:1 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 11:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 12:43 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 12:79 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 13:58 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 22:73 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 23:73 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 24:75 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 25:77 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 26:76 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 27:75 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 28:72 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 29:77 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 30:70 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 31:73 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 34:5 warning Line indented incorrectly; expected at least 8 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 40:5 warning Line indented incorrectly; expected 8 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 43:67 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 48:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 53:149 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) 62:1 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 63:51 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 72:1 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 73:56 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 123:1 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 148:73 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 234:1 warning Line indented incorrectly; expected at least 8 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) 238:23 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/product/rating_snippet_element.phtml 5:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 6:67 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 6:126 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 7:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/product/all_in_one.phtml 7:1 warning Line indented incorrectly; expected 12 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 8:71 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 10:1 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 12:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 13:47 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 13:83 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 14:62 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 23:77 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 24:77 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 25:79 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 26:81 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 27:80 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 28:79 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 29:76 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 30:81 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 31:74 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 32:77 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 35:9 warning Line indented incorrectly; expected at least 12 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) 41:9 warning Line indented incorrectly; expected 12 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 44:71 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 49:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 54:153 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 63:1 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 64:55 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 73:1 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 74:60 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 124:1 warning Line exceeds 120 characters; contains 179 characters (Generic.Files.LineLength.TooLong) 149:77 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 234:5 warning Line indented incorrectly; expected at least 12 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect) 237:27 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 245:5 warning Line indented incorrectly; expected 8 spaces, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 247:67 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 247:88 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 247:88 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 251:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 252:49 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 252:101 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 256:1 warning Line indented incorrectly; expected at least 8 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/rating_snippet.phtml 7:33 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 19:1 warning Line indented incorrectly; expected 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 20:63 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 21:79 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 21:100 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 22:9 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 23:1 warning Line indented incorrectly; expected at least 4 spaces, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect) view/frontend/templates/category/list.phtml 6:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 29:40 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 33:7 warning Expected 0 spaces after ELSE keyword; 1 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 58:60 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 60:173 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 68:31 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 70:88 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 76:122 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 77:124 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 82:41 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 92:74 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 94:200 warning Line exceeds 120 characters; contains 257 characters (Generic.Files.LineLength.TooLong) 95:123 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 96:87 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 97:186 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 99:145 warning Line exceeds 120 characters; contains 146 characters (Generic.Files.LineLength.TooLong) 100:138 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 101:207 warning Line exceeds 120 characters; contains 207 characters (Generic.Files.LineLength.TooLong) 102:141 warning Line indented incorrectly; expected 48 spaces, found 140 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 102:143 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 104:128 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 108:47 warning Expected 0 spaces after ELSE keyword; 1 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 109:79 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 113:51 warning Expected 0 spaces after ELSE keyword; 1 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 126:95 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 136:59 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 143:224 warning Line exceeds 120 characters; contains 227 characters (Generic.Files.LineLength.TooLong) Block/Richsnippet.php 14:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 40:26 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 41:75 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 41:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 55:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 68:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 70:227 warning Line exceeds 120 characters; contains 227 characters (Generic.Files.LineLength.TooLong) 74:11 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 80:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 125:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:13 warning $availability parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 138:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 142:24 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Product/Reviewwidget.php 11:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 32:26 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 33:75 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 33:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 37:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 57:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 62:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 69:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 76:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 96:15 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 97:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 98:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 100:23 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 101:21 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 103:9 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 104:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 112:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 123:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 134:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 151:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 161:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 165:24 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Block/Product/RatingSnippet.php 12:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:8 warning $data parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 33:8 warning $helper parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 34:8 warning $customerSession parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 35:8 warning $categoryFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 38:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 38:12 warning $reviewsConfigHelper parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 52:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 64:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 66:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 115:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 121:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 121:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 122:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 127:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody)