Magento Coding Standard (PHPCS) report for openpay/magento2-cards ================================================================= Package version: 3.5.15 | Magento: 2.4.9 | Tested: 2026-05-26 27 errors, 1140 warnings in 33 files Model/OpenpayCustomer.php 5:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 5:129 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 9:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 10:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 12:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 13:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 13:75 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 16:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:48 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 26:49 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 28:41 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 29:50 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 30:70 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 32:16 warning Possible raw SQL statement 'Select * FROM ' detected. (Magento2.SQL.RawQuery.FoundRawSql) 32:87 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 41:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 44:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 52:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 60:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 68:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Utils/Currency.php 8:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 9:1 warning Expected 0 spaces before opening brace; 1 found (PSR2.Classes.ClassDeclaration.SpaceBeforeBrace) 15:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 16:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 18:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:85 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 25:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 28:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 29:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 30:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 31:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 32:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 33:86 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 52:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 53:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 54:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 54:8 warning $countryCode parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 55:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 56:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 57:12 warning $supportedCurrencies parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 57:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 57:48 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 57:84 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 63:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 66:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 66:40 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 66:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 69:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Utils/OpenpayRequest.php 4:22 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 6:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 8:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 9:8 warning $context parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 13:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 13:12 warning $logger parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:101 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 26:15 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 33:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 33:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 33:46 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 35:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 36:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 36:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 39:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 39:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 39:45 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 41:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 42:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 42:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 46:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 48:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 50:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 51:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 52:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 53:19 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:48 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 56:70 warning The use of function curl_errno() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:103 warning The use of function curl_error() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 58:21 warning The use of function curl_getinfo() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 61:52 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 61:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 64:9 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 68:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Utils/ProductFormat.php 7:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 8:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 10:12 warning Expected "function abc(...)"; found "function abc\n (...)" (Squiz.Functions.FunctionDeclaration.Found) 11:5 warning Expected 0 spaces before opening parenthesis; 4 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 11:6 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 19:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 20:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 22:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 23:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 27:9 warning Expected "foreach (...) {\n"; found "foreach(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 27:9 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 27:32 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 28:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 28:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 28:39 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 32:51 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 33:48 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 34:50 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 53:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:49 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 63:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/Utils/AddressFormat.php 7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 10:19 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 10:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 10:87 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 19:145 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 19:147 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 19:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 36:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 36:67 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 45:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Payment.php 44:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 47:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 48:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 49:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 51:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 52:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 53:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 54:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 55:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 56:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 57:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 58:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 59:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 60:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 61:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 62:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 63:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 64:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 65:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 66:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 67:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 68:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 69:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 70:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 70:43 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 71:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 72:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 73:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 74:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 75:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 76:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 77:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 78:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 79:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 80:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 81:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 82:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 83:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 84:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 85:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 101:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 104:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 104:5 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 105:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 108:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 109:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 114:8 warning $context parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 115:8 warning $registry parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 116:8 warning $extensionFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 117:8 warning $customAttributeFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 118:8 warning $paymentData parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 119:8 warning $scopeConfig parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 120:8 warning $configWriter parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 121:8 warning $logger parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 122:8 warning $moduleList parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 123:8 warning $localeDate parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 124:8 warning $countryFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 125:8 warning $openpay parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 130:8 warning $addressFormat parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 131:8 warning $productFormat parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 133:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 133:12 warning $storeManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 133:12 warning $logger_interface parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 133:12 warning $customerModel parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 133:12 warning $customerSession parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 133:12 warning $openpayCustomerFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 134:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 135:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 136:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 137:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 138:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 139:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 140:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 141:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 142:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 143:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 144:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 145:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 146:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 147:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 148:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 149:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 150:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 151:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 152:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 153:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 154:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 155:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 156:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 156:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 160:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 160:27 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:38 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:57 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:82 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:96 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:110 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:119 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:132 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:145 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:151 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 160:157 warning Line exceeds 120 characters; contains 161 characters (Generic.Files.LineLength.TooLong) 160:157 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 211:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 219:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 225:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 239:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 244:34 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 246:9 warning Expected "if (...) {\n"; found "if (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 246:20 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 246:47 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 248:25 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 249:53 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 250:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 252:9 warning Expected "} elseif (...) {\n"; found "}\n // Caso en que la IP llega a través de un Proxy\n elseif (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 252:24 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 252:57 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 254:25 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 255:59 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 256:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 258:9 warning Expected "} else {\n"; found "}\n // Caso en que la IP lleva a través de la cabecera de conexión remota\n else\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 258:9 warning Expected 1 space after ELSE keyword; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 260:25 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 261:50 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 263:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 273:32 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 280:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 281:13 warning Terminating statement must be indented to the same level as the CASE body (PSR2.ControlStructures.SwitchDeclaration.BreakIndent) 283:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 284:13 warning Terminating statement must be indented to the same level as the CASE body (PSR2.ControlStructures.SwitchDeclaration.BreakIndent) 286:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 287:13 warning Terminating statement must be indented to the same level as the CASE body (PSR2.ControlStructures.SwitchDeclaration.BreakIndent) 290:43 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 300:63 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 314:69 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 318:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 320:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 324:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 327:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 330:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 334:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 337:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 340:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 344:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 359:83 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 364:41 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 364:198 warning Line exceeds 120 characters; contains 198 characters (Generic.Files.LineLength.TooLong) 371:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 381:73 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 389:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 394:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 399:87 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 401:44 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 401:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 417:85 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 419:42 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 419:186 warning Line exceeds 120 characters; contains 186 characters (Generic.Files.LineLength.TooLong) 426:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 426:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 426:39 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 435:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 435:105 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 440:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 440:214 warning Line exceeds 120 characters; contains 214 characters (Generic.Files.LineLength.TooLong) 445:28 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 450:63 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 450:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 454:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 456:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 463:92 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 464:15 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 465:15 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 466:15 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 467:15 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 469:115 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 474:49 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 474:188 warning Line exceeds 120 characters; contains 188 characters (Generic.Files.LineLength.TooLong) 499:49 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 499:153 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 501:26 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 514:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 532:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 535:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 543:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 543:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 543:57 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 544:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 550:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 551:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 554:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 554:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 554:73 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 555:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 556:17 warning Line indented incorrectly; expected 12 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 556:38 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 557:21 warning Line indented incorrectly; expected 16 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 560:21 warning Line indented incorrectly; expected 16 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 563:17 warning Line indented incorrectly; expected 12 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 567:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 572:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 574:17 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 580:51 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 580:63 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 580:79 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 580:98 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 580:105 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 585:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 585:22 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 586:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 586:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 587:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 592:13 warning Expected "if (...) {\n"; found "if (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 592:62 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 613:17 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 614:51 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 614:171 warning Line exceeds 120 characters; contains 171 characters (Generic.Files.LineLength.TooLong) 627:64 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 627:165 warning Line exceeds 120 characters; contains 165 characters (Generic.Files.LineLength.TooLong) 635:161 warning Line exceeds 120 characters; contains 161 characters (Generic.Files.LineLength.TooLong) 654:17 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 656:49 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 656:203 warning Line exceeds 120 characters; contains 203 characters (Generic.Files.LineLength.TooLong) 661:100 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 661:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 665:43 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 666:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 666:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 669:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 676:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 676:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 695:13 warning Terminating statement must be indented to the same level as the CASE body (PSR2.ControlStructures.SwitchDeclaration.BreakIndent) 700:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 700:113 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 709:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 709:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 709:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 711:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 716:22 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 722:56 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 722:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 724:13 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 732:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 734:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 734:73 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 751:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 751:71 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 759:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 759:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 759:43 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 766:106 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 766:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 773:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 773:54 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 783:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 783:69 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 803:17 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 803:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 803:47 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 806:70 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 806:191 warning Line exceeds 120 characters; contains 191 characters (Generic.Files.LineLength.TooLong) 810:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 822:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 822:51 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 827:113 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 827:150 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) 834:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 834:62 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 838:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 838:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 838:41 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 843:110 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 843:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 850:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 850:57 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 854:105 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 854:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 861:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 861:70 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 866:46 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 874:107 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 874:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 881:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 885:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 885:26 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 891:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 891:26 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 895:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 895:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 895:30 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 896:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 896:26 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 900:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 900:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 905:35 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 905:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 914:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 919:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 924:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 935:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 940:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 941:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 948:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 949:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 956:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 956:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 960:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 961:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 968:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 968:34 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 972:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 972:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 974:94 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 974:143 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 974:156 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 974:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 975:112 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 975:161 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 975:174 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 975:175 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 976:106 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 976:155 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 976:168 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 976:169 warning Line exceeds 120 characters; contains 169 characters (Generic.Files.LineLength.TooLong) 977:94 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 977:143 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 977:156 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 977:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 978:88 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 978:137 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 978:150 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 978:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 979:88 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 979:137 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 979:150 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 979:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong) 984:24 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) 984:73 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 984:128 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 984:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 986:66 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 986:78 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 986:95 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 990:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 990:40 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 990:41 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 991:68 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 992:81 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 992:130 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 992:143 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 992:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 993:24 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) 993:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 993:102 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 994:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 994:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 994:22 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 995:92 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 995:141 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 995:154 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 995:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 999:204 warning Line exceeds 120 characters; contains 204 characters (Generic.Files.LineLength.TooLong) 1004:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1004:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1008:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1008:110 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1012:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1012:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1012:12 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 1012:33 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1016:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1016:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1016:12 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 1016:24 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1020:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1020:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1020:12 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 1020:29 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1024:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1024:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1024:12 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 1024:32 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1028:53 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1028:57 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1036:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1036:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1038:37 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 1041:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1041:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1041:56 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1047:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1047:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1047:60 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1048:13 warning Expected "foreach (...) {\n"; found "foreach(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1048:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1048:46 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1050:17 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1050:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1050:53 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1056:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 1056:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1062:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1062:39 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1063:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1071:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1071:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1077:8 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1081:33 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1086:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 1087:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 1087:8 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1088:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 1089:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 1090:6 warning Expected 6 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 1091:50 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1095:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1096:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1099:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1135:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1136:8 warning $billing parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 1136:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1139:12 warning $address parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 1139:47 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1140:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 1140:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1141:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 1150:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1150:21 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 1152:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1154:81 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1154:130 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 1154:143 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 1154:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 1155:56 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1155:56 warning PHP keywords must be lowercase; expected "array" but found "Array" (Generic.PHP.LowerCaseKeyword.Found) 1156:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1156:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1156:22 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1157:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 1158:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1158:96 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 1159:28 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) 1159:61 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1159:98 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 1164:9 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 1164:10 warning Expected "} else {\n"; found "}else{\n" (PEAR.ControlStructures.ControlSignature.Found) 1164:10 warning Expected 1 space after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1170:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 1170:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1170:27 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1171:77 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1171:127 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 1171:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 1175:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1177:30 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1198:104 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 1198:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 1205:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1205:56 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1213:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 1215:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 1215:46 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 1216:9 warning Expected 1 space after SWITCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 1216:23 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 1218:175 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong) 1220:195 warning Line exceeds 120 characters; contains 195 characters (Generic.Files.LineLength.TooLong) 1222:167 warning Line exceeds 120 characters; contains 167 characters (Generic.Files.LineLength.TooLong) 1226:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/ResourceModel/OpenpayCustomer.php 5:84 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 7:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 7:93 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 11:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 11:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Model/ResourceModel/OpenpayCustomer/Collection.php 6:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 7:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 8:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 16:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 16:61 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 19:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Config/OrderStatuses.php 7:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 8:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 11:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 11:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 2 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 11:3 warning Line indented incorrectly; expected at least 4 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 14:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 14:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 20:74 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 22:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/OpenpayConfigProvider.php 37:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 44:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 48:19 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine) 58:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 67:61 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 67:210 warning Line exceeds 120 characters; contains 210 characters (Generic.Files.LineLength.TooLong) 79:73 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 79:162 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 81:100 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 81:153 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 82:17 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 82:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 82:57 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 90:80 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 90:170 warning Line exceeds 120 characters; contains 170 characters (Generic.Files.LineLength.TooLong) 98:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 98:32 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 99:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 115:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 115:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 116:18 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 117:9 warning Expected "for (...) {\n"; found "for(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 117:9 warning Expected 1 space after FOR keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 117:31 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 124:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 124:36 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 125:18 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 126:9 warning Expected "for (...) {\n"; found "for(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 126:9 warning Expected 1 space after FOR keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 126:30 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 133:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 133:34 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 135:19 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 135:41 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 137:26 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 137:65 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 137:121 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 137:158 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 137:200 warning Line exceeds 120 characters; contains 200 characters (Generic.Files.LineLength.TooLong) 144:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Source/SaveCc.php 10:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 11:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 16:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 17:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 18:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 19:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 19:96 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 20:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 22:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:36 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 25:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 26:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 27:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 27:93 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 28:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Source/MonthsInterestFree.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 22:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 23:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 24:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 25:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 26:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 27:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 27:58 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 28:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Source/PaymentAction.php 17:47 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 20:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:37 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 23:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 24:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 29:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 36:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Source/Countries.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 22:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 23:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 24:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Model/Source/Cctype.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 22:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 23:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 24:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 25:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 25:56 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 26:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 34:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 35:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 36:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 37:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 37:66 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 38:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 41:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 46:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 47:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 48:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 49:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 50:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 50:56 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 51:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) Model/Source/ChargeTypes.php 16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 22:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 23:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 24:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 24:59 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 25:11 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 30:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 31:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Observer/MerchantInfo.php 2:4 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 20:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 38:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 38:21 warning Multi-line function declarations must define one parameter per line (Squiz.Functions.MultiLineFunctionDeclaration.OneParamPerLine) 47:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 49:49 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 53:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Observer/CreateWebhook.php 2:4 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 20:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 38:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 38:21 warning Multi-line function declarations must define one parameter per line (Squiz.Functions.MultiLineFunctionDeclaration.OneParamPerLine) 47:15 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 49:49 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 53:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 53:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Observer/AfterPlaceOrder.php 18:52 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 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) 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24: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) 26:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 30:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 31:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 32:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 33:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 34:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 4 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 46:49 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 55:74 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 55:254 warning Line exceeds 120 characters; contains 254 characters (Generic.Files.LineLength.TooLong) 57:62 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 58:78 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 58:145 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 58:181 warning Line exceeds 120 characters; contains 181 characters (Generic.Files.LineLength.TooLong) 63:62 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 66:78 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 72:74 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 72:189 warning Line exceeds 120 characters; contains 189 characters (Generic.Files.LineLength.TooLong) 74:59 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 75:78 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 75:145 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 75:184 warning Line exceeds 120 characters; contains 184 characters (Generic.Files.LineLength.TooLong) 77:62 error Direct use of $_SESSION Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageError) 82:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Setup/InstallSchema.php 1:1 error InstallSchema scripts are obsolete. Please use declarative schema approach in module's etc/db_schema.xml file (Magento2.Legacy.InstallUpgrade.ObsoleteInstallSchemaScript) 9:55 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 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:81 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:91 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 18:48 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 18:92 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 30:48 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 30:95 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 30:101 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 35:28 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 38:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 38:43 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 39:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 40:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 40:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 41:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 41:71 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 42:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 45:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 45:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 46:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 46:72 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 47:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 47:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 48:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 48:51 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 49:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 50:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 52:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 52:37 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 53:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 53:72 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 54:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 54:35 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 55:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 55:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 56:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 57:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 59:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 59:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 60:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 60:77 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 61:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 61:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 62:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 62:113 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 63:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 65:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 65:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 66:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 66:77 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 67:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 67:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 68:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 69:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 75:63 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 90:19 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 97:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Setup/UpgradeSchema.php 1:1 error UpgradeSchema scripts are obsolete. Please use declarative schema approach in module's etc/db_schema.xml file (Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeSchemaScript) 9:55 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 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:81 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:91 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 18:48 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 18:92 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 30:48 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 30:95 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 30:101 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 35:28 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) 38:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 38:43 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 39:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 40:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 40:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 41:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 41:71 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 42:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 45:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 45:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 46:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 46:72 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 47:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 47:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 48:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 48:51 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 49:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 50:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 52:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 52:37 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 53:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 53:72 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 54:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 54:35 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 55:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 55:32 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 56:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 57:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 59:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 59:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 60:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 60:77 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 61:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 61:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 62:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 62:113 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 63:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 65:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 65:42 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 66:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 66:77 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 67:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 67:34 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 68:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 69:1 warning Multi-line function call not indented correctly; expected 24 spaces but found 28 (PSR2.Methods.FunctionCallSignature.Indent) 75:63 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 90:19 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 97:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Logger/Handler.php 16:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) Logger/Logger.php 9:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 16:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 16:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Payment/Success.php 9:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24: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) 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) 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) 59:12 warning $messageManager parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 60:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 61:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 62:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 63:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 64:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 65:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 66:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 67:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 68:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 69:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 70:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 71:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 72:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 73:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 74:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 75:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 12 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 96:36 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 101:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 125:46 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 125:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 144:52 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 155:62 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 165:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 165:194 warning Line exceeds 120 characters; contains 194 characters (Generic.Files.LineLength.TooLong) 181:55 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 187:53 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 188:64 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 188:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 190:17 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 190:49 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 192:17 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 192:56 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 193:65 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 193:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 194:68 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 195:25 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 208:17 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 208:34 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 210:65 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 210:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 222:46 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 226:97 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 226:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 228:46 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 228:168 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 235:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 235:45 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 237:9 warning Expected 1 space after SWITCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 237:21 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 240:170 warning Line exceeds 120 characters; contains 170 characters (Generic.Files.LineLength.TooLong) Controller/Payment/GetTypeCard.php 18:63 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 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) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 47:46 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 53:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 53:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 55:112 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 55:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 57:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 64:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 65:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 70:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 70:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 74:25 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 82:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 83:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Controller/Cards/Webhook.php 28:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 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) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:34 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 67:21 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 72:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 72:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 72:16 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 72:116 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 73:17 warning The use of function header() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 78:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 78:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 79:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 79:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 79:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 80:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 80:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 83:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 83:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 83:52 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 84:17 warning The use of function header() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 85:17 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 92:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 95:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 95:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 98:52 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 105:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 105:211 warning Line exceeds 120 characters; contains 211 characters (Generic.Files.LineLength.TooLong) 107:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 107:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 116:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 116:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 116:83 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 117:70 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 117:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 125:17 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 125:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 125:81 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 126:72 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 126:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 127:21 warning The use of function header() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 128:21 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 131:61 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 135:61 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 135:198 warning Line exceeds 120 characters; contains 198 characters (Generic.Files.LineLength.TooLong) 152:59 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 158:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 159:68 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 159:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 161:21 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 161:53 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 163:21 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 163:60 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 164:69 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 164:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 165:72 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 166:29 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 179:21 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 179:38 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 181:69 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 181:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 190:68 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 190:111 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 191:13 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 191:14 warning Expected "} else if (...) {\n"; found "}else if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 191:14 warning Usage of ELSE IF is discouraged; use ELSEIF instead (PSR2.ControlStructures.ElseIfDeclaration.NotAllowed) 191:19 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 191:19 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 191:22 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 191:233 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 191:234 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 191:235 warning Line exceeds 120 characters; contains 235 characters (Generic.Files.LineLength.TooLong) 192:74 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 192:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 195:21 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 195:53 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 197:21 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 197:60 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 198:69 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 198:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong) 199:72 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 201:29 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 201:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 210:160 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong) 214:72 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 214:115 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 217:13 warning The use of function header() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 220:111 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 220:148 warning Line exceeds 120 characters; contains 148 characters (Generic.Files.LineLength.TooLong) 222:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 223:62 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 226:9 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 229:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 229:54 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 230:9 warning Expected 1 space after SWITCH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 231:22 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 232:17 warning Space before opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket) 235:17 warning Space before opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket) 238:9 error Use of print language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput) 238:15 warning Space before opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket) 238:28 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 238:57 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 244:54 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 259:52 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 271:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) view/frontend/templates/success.phtml 3:83 warning Short echo tag syntax must be used; expected "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "
" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) Block/Onepage/Success.php 10:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 43:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Block/Success.php 7:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 8:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 17:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:38 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 23:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) 23:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Block/System/Config/Form/Field/Disable.php 7:1 warning Opening class brace must be on a line by itself (PSR2.Classes.ClassDeclaration.OpenBraceNotAlone) 7:2 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 8:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 14:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)