Magento Coding Standard (PHPCS) report for magematch/magento2-payment ===================================================================== Package version: v1.0.1 | Magento: 2.4.9 | Tested: 2026-06-01 348 warnings in 15 files Plugin/StateDataPlugin.php 14:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 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) 25:73 warning PHP keywords must be lowercase; expected "callable" but found "Callable" (Generic.PHP.LowerCaseKeyword.Found) 31:9 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 31:10 warning Expected "} else {\n"; found "}else {\n" (PEAR.ControlStructures.ControlSignature.Found) Plugin/PaymentTransaction.php 19:26 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 24:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 42:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 42:142 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 45:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 45:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Plugin/RequestsPlugin.php 19:22 warning Opening brace of a class must be on the line after the definition (PSR2.Classes.ClassDeclaration.OpenBraceNewLine) 24:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 41:93 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 43:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 43:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 44:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) Plugin/AfterPlaceOrder.php 14:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 27:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 38:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 40:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 45:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 64:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 67:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 67:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 67:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 84:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Resolver/SetPaymentMethodOnRetry.php 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 37:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 41:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 46:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 76:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 14 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 100:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 100:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 103:17 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 103:18 warning Expected "} else {\n"; found "}else{\n" (PEAR.ControlStructures.ControlSignature.Found) 103:18 warning Expected 1 space after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 107:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 119:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 123:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 123:37 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 125:36 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 131:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 132:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 135:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 135:38 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 137:36 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) Model/Resolver/CartReset.php 25:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 41:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 57:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 59:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 14 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 100:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 100:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 102:17 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 102:18 warning Expected "} elseif (...) {\n"; found "}elseif (...){\n" (PEAR.ControlStructures.ControlSignature.Found) 102:53 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 122:9 warning No blank lines are allowed before short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 122:9 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 123:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 123:7 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 124:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 125:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 126:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 143:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Resolver/Items.php 22:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse) 55:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 63:45 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:8 warning @inheritdoc imports only short description, annotation must have long description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 96:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 97:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 108:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 112:13 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 112:42 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) Model/Resolver/PaymentRetry.php 41:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 41:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 42:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:187 warning Line exceeds 120 characters; contains 187 characters (Generic.Files.LineLength.TooLong) 45:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 46:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 47:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 47:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 48:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 49:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 50:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 51:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 61:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 71:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 96:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 119:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 14 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 124:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 126:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 132:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 134:17 warning Line indented incorrectly; expected 12 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 140:21 warning Line indented incorrectly; expected 16 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 142:25 warning Line indented incorrectly; expected 20 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 144:25 warning Line indented incorrectly; expected 20 spaces, found 24 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 145:39 warning Decrement operators should be used where possible; found "$retryAttempt = $retryAttempt - 1;" but expected "--$retryAttempt" (Squiz.Operators.IncrementDecrementUsage.Found) 148:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 151:21 warning Line indented incorrectly; expected 16 spaces, found 20 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 153:17 warning Line indented incorrectly; expected 12 spaces, found 16 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 155:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 157:13 warning Line indented incorrectly; expected 8 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 167:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 168:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 176:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 188:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 189:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 192:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 192:38 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 194:42 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 200:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 201:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 205:13 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 205:35 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 218:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 219:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 222:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 222:39 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 224:42 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 230:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 231:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 236:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 236:35 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 257:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 258:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 261:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 261:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 266:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 267:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 271:95 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 282:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 301:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 302:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 302:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 303:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 304:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 305:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 309:57 warning Expected 1 space between comma and argument "$availableRetryAttempts"; 2 found (Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeArg) 309:96 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 332:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) Model/Resolver/SalesOrder.php 63:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 75:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 20 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 80:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 85:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 86:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 100:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 114:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 166:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 175:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 176:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 176:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 184:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 195:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 196:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 196:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 197:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Resolver/OrderPayment.php 39:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 40:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 61:5 warning Scope keyword "private" must be followed by a single space; found 2 (Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect) 81:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 104:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 14 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 158:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 158:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 163:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 163:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 163:190 warning Line exceeds 120 characters; contains 190 characters (Generic.Files.LineLength.TooLong) 183:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 184:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 191:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 191:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 198:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 199:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 202:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 202:48 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 204:36 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 210:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 211:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 216:36 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 222:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 223:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 223:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 234:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 253:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 254:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 254:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Api/PaymentWebhook.php 42:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 43:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 44:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 47:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 48:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 49:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 51:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 112:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 114:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 130:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 145:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 208:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 209:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 235:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 237:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 238:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 259:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 262:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 264:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 265:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 265:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 266:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 267:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 268:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 269:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 270:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 271:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 276:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 300:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 301:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 302:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 304:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 306:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 309:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 310:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 311:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 313:12 warning Line indented incorrectly; expected at least 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.Incorrect) 314:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 315:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 316:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 317:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 318:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 319:12 warning Line indented incorrectly; expected at least 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.Incorrect) 320:8 warning Line indented incorrectly; expected 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 320:8 warning Closing brace indented incorrectly; expected 8 spaces, found 7 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 329:20 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 329:57 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 331:25 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 332:13 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 335:17 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 335:44 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 337:30 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 337:44 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 338:26 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 340:17 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 340:44 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 342:30 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 342:51 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 343:26 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 345:17 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 345:44 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 347:30 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 347:51 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 348:26 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 350:17 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 350:44 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 352:30 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 352:51 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 353:26 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 355:17 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 355:44 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 357:30 warning The use of function base64_decode() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 357:51 warning Direct use of $_SERVER Superglobal detected. (Magento2.Security.Superglobal.SuperglobalUsageWarning) 369:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 370:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 370:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 371:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 372:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 373:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 374:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 385:9 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 385:10 warning Expected "} else {\n"; found "}else{\n" (PEAR.ControlStructures.ControlSignature.Found) 385:10 warning Expected 1 space after ELSE keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Api/Data/AdyenPaymentMethodsMappingInterface.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Api/PaymentWebhookInterface.php 20:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:22 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 25:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Cron/CancelPendingOrder.php 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 91:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 92:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 94:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 131:9 warning Expected 1 space after closing brace; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 131:17 warning Expected 0 spaces after opening bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 136:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 137:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 139:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 139:48 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 141:42 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 146:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 147:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 149:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 149:39 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 151:42 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 156:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 157:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 160:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 160:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 165:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Cron/Ordercancel.php 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 44:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 70:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 72:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:31 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 77:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 88:8 warning Line indented incorrectly; expected at least 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.Incorrect) 89:8 warning Line indented incorrectly; expected 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 89:8 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 89:8 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 101:8 warning Line indented incorrectly; expected 8 spaces, found 7 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 104:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 105:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 108:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 108:39 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 110:42 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 116:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 117:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 120:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 125:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 126:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:95 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong)