Magento Coding Standard (PHPCS) report for trustpilot/module-reviews ==================================================================== Package version: 2.6.580 | Magento: 2.4.9 | Tested: 2026-05-27 24 errors, 605 warnings in 23 files Helper/TrustpilotPluginStatus.php 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:46 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 23:84 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:22 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Helper/TrustpilotHttpClient.php 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 21:45 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 22: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) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 49:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 60:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 66:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:66 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Helper/TrustpilotLog.php 3:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 11:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21: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) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 28:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 28:66 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 29:24 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 48:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 59:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Helper/Notifications.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) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 52:238 warning Line exceeds 120 characters; contains 238 characters (Generic.Files.LineLength.TooLong) Helper/PastOrders.php 10:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 11:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:37 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 22: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) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 43:21 warning The use of function set_time_limit() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 45:26 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 52:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 65:29 warning Increment operators should be used where possible; found "$pageId = $pageId + 1;" but expected "++$pageId" (Squiz.Operators.IncrementDecrementUsage.Found) 79:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 86:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 87:40 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 94:21 warning The use of function set_time_limit() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 104:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 125:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:82 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 126:24 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 130:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 138:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 146:37 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 148:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 155:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 156:33 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 165:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 166:33 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 174:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 174:76 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 176:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 179:121 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 183:45 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 184:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 190:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 194:23 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 195:13 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 195:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 205:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 210:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 211:9 warning Expected "if (...) {\n"; found "if (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 211:37 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 224:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 224:122 warning Expected 1 space before opening brace; found 2 (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeBrace) 234:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 237:23 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 247:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 255:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 255:113 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Helper/Data.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 35:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 36:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 37:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 39:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 41:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 77:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 79:29 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 79:51 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 80:24 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 80:52 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 81:22 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 82:24 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 82:63 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 83:24 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 83:61 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 89:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 94:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 96:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 98:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 99:30 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 102:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 104:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 105:37 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 110:40 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 119:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 121:37 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 131:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 148:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 170:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 191:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 198:71 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) 203:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 203:34 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 205:48 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 213:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 224:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 224:62 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 233:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 243:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 249:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 280:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 287:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 295:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 295:48 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 306:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 308:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 309:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 310:26 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 311:42 warning Opening brace must be the last content on the line (Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace) 311:55 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 311:81 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 329:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 331:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 344:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 346:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 362:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 378:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 380:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 385:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 387:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 395:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 395:43 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 397:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 401:26 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 404:54 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 406:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 407:36 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 407:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 409:36 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 417:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 417:35 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 419:39 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 423:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 423:62 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 426:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 436:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 436:74 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 439:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 440:61 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 445:124 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 445:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 450:42 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 460:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 462:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 466:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 467:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 469:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 473:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 477:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 477:70 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 489:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 491:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 495:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 496:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 498:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 502:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Helper/HttpClient.php 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:57 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 15:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:89 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 18:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 20:9 warning Expected 1 space after TRY keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 21:19 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 24:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 25:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 26:24 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 28:29 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 30:13 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 31:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 37:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 37:31 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 42:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 42:14 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 43:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 43:2 warning Opening brace indented incorrectly; expected 4 spaces, found 1 (Squiz.Functions.MultiLineFunctionDeclaration.BraceIndent) 44:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 44:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 44:3 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 45:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 45:4 warning Line indented incorrectly; expected at least 8 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 46:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 46:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 46:3 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 47:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 47:4 warning Line indented incorrectly; expected at least 8 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 50:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 51:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 52:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 53:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 57:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 57:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 57:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 58:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 61:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 64:9 warning Empty return statement not required here (Squiz.PHP.NonExecutableCode.ReturnNotRequired) 67:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Helper/Products.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) 15:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:37 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 22: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) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 30:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 34:36 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 38:13 warning The use of function set_time_limit() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 45:33 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 48:106 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 48:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) 55:22 warning Increment operators should be used where possible; found "$page_id = $page_id + 1;" but expected "++$page_id" (Squiz.Operators.IncrementDecrementUsage.Found) Helper/OrderData.php 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 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) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:40 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 26: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) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 37:14 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 38:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 48:49 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 48:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 51:64 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 57:64 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 72:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:42 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 76:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 76:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 80:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 89:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 91:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 95:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 97:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 100:11 warning Expected 1 space after CATCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 106:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 106:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 117:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 117:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 128:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 141:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 143:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 150:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 150:12 warning Method name "OrderData::is_empty" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 155:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 157:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 160:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 169:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 182:32 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 189:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 209:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 209:5 warning Visibility must be declared on method "getOptionText" (Squiz.Scope.MethodScope.Missing) 209:61 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 219:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 219:5 warning Visibility must be declared on method "getProductExtraFields" (Squiz.Scope.MethodScope.Missing) 219:84 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 227:46 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 231:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 235:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 255:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 255:5 warning Visibility must be declared on method "getProductCategories" (Squiz.Scope.MethodScope.Missing) 255:68 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 256:23 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 257:24 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 263:36 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 283:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 283:5 warning Visibility must be declared on method "getAllImages" (Squiz.Scope.MethodScope.Missing) 283:60 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 284:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 301:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 301:5 warning Visibility must be declared on method "getAllVideos" (Squiz.Scope.MethodScope.Missing) 301:60 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 302:19 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 326:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 326:5 warning Visibility must be declared on method "stripAllTags" (Squiz.Scope.MethodScope.Missing) 326:60 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 327:13 warning The use of function gettype() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/Config.php 5:13 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 6:1 warning Expected 0 spaces before opening brace; 1 found (PSR2.Classes.ClassDeclaration.SpaceBeforeBrace) 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 20: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) 25:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 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:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Observer/OrderSaveObserver.php 16:1 warning Opening class brace must be on a line by itself (PSR2.Classes.ClassDeclaration.OpenBraceNotAlone) 16:2 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 19:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 20:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:37 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 30: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) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:53 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 45:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 50:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 56:152 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 67:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 75:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 84:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 102:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 105:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 109:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 119:51 warning Expected 1 space after comma in argument list; 2 found (Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma) Controller/Adminhtml/Trustpilot/Index.php 2:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 10: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 Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 13:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 42:3 warning Line indented incorrectly; expected 0 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 42:3 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 42:3 warning Closing brace indented incorrectly; expected 0 spaces, found 2 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) Controller/Adminhtml/Index/Index.php 12:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:27 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 21: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) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:9 warning The use of function session_write_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 40:23 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 43:23 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 56:23 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 62:23 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 67:23 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 68:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 74:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 80:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 81:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 86:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 97:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) view/frontend/templates/order/success.phtml 2:1 warning Please do not use "text/javascript" type attribute. (Magento2.Legacy.PhtmlTemplate.TextJavascriptTypeFound) 4:31 warning Short echo tag syntax must be used; expected "