Magento Coding Standard (PHPCS) report for qbo/module-paypal-commerce-platform ============================================================================== Package version: v2.2.2 | Magento: 2.4.9 | Tested: 2026-07-21 5 errors, 753 warnings in 60 files Plugin/CsrfValidatorSkip.php 6:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 7:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 24:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/PaypalToken.php 12:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:9 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 30:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 30:80 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 33:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) Helper/NonceProvider.php 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Payment/Oxxo/Payment.php 20:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 22:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:43 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 26:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 26:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 26:2 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 37:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 55:77 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:104 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 72:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) 82:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 82:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 83:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 103:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 103:10 warning Line indented incorrectly; expected 12 spaces, found 9 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 103:10 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 103:10 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 103:50 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 104:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 107:13 warning Closing brace indented incorrectly; expected 9 spaces, found 12 (Squiz.WhiteSpace.ScopeClosingBrace.Indent) 108:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 108:68 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 113:77 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 114:101 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 133:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 133:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 134:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 134:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 134:25 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) 134:98 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 135:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 135:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 136:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 136:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 137:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 137:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 140:1 warning Code must not contain multiple empty lines in a row; found 3 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 143:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 144:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 144:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 151:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 151:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 158:21 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 164:21 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 170:101 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 174:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 175:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 175:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 207:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 208:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 209:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 210:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 211:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 212:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 213:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 214:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 215:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 215:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 216:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 216:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 217:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 217:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 218:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 218:3 warning Line indented incorrectly; expected 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 219:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 219:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 220:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 220:3 warning Line indented incorrectly; expected 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 221:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 221:3 warning Line indented incorrectly; expected at least 8 spaces, found 2 (Generic.WhiteSpace.ScopeIndent.Incorrect) 222:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 222:2 warning Line indented incorrectly; expected 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) Model/Payment/Advanced/Payment.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:173 warning Line exceeds 120 characters; contains 173 characters (Generic.Files.LineLength.TooLong) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:42 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 36: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 40:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 42:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 42:33 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 44:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 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) 54: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) 58:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 78:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 118:8 warning $eventManager parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 119:8 warning $paypalConfig parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 120:8 warning $transportBuilder parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 121:8 warning $storeManager parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 122:8 warning $checkoutSession parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 127:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 127:12 warning $orderRepository parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 127:12 warning $customerSession parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 127:12 warning $billingAgreement parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 175:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 204:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 227:13 warning Line exceeds 120 characters; contains 196 characters (Generic.Files.LineLength.TooLong) 228:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 228:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 261:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 261:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 267:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 274:67 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 276:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 291:77 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 413:75 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 443:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 470:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 525:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 531:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 532:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 532:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 535:52 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 547:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 583:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 590:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 647:23 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 666:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 687:184 warning Line exceeds 120 characters; contains 184 characters (Generic.Files.LineLength.TooLong) 689:24 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 690:67 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 693:176 warning Line exceeds 120 characters; contains 176 characters (Generic.Files.LineLength.TooLong) 696:72 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 707:75 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 709:98 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 726:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong) 727:152 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong) 732:21 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 734:21 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 736:21 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 741:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 744:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 766:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 795:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 804:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Payment/SPB/Payment.php 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Model/Config.php 12:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 13:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 14:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 15:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 36: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 38:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 41:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 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) 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) 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) 52:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 54:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 58:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 59:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 60: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 Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 62:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 63:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 64:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 65:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 66:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 67:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 68:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 70:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 71:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 76:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 77:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 78:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 79:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 80:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 102:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 130:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 152:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 155:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 156:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 157:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 158:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 159:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 160:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 161:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 165:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 170:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 175:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 180:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 185:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 190:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 195:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 204:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 209:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 214:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 219:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 224:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 229:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 234:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 239:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 244:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 249:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 254:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 259:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 264:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 269:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 274:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 279:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 284:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 289:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 294:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 299:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 301:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 304:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 309:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/PayPalCPConfigProvider.php 8:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20: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) 45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 63:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 93:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 98:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 98:38 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 102:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 110:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 113:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 114:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 115:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 116:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 143:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 144:153 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 145:153 warning Line exceeds 120 characters; contains 153 characters (Generic.Files.LineLength.TooLong) 149:150 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong) 150:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 166:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 173:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 188:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 193:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 202:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 218:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 225:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 241:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 250:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 253:77 warning Each PHP statement must be on a line by itself (Generic.Formatting.DisallowMultipleStatements.SameLine) 288:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 290:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 298:21 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 313:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Billing/Agreement.php 33:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 94:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) 96:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 101:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 122:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 175:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Model/ResourceModel/Billing/Agreement.php 11:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Paypal/STC/RiskTransactionContextRequest.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Oxxo/ConfirmRequest.php 16:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 18:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 22:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 24:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Oxxo/GetVoucher.php 16:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 22:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 24:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Api.php 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 60:157 warning Line exceeds 120 characters; contains 157 characters (Generic.Files.LineLength.TooLong) 62:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 66:8 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 71:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 77:64 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 86:65 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 98:108 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 98:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) 137:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 151:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 165:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 193:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 213:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 218:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 225:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 225:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 235:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 235:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 243:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Model/Paypal/Agreement/Token/AgreementTokenCreateRequest.php 9:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 9:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Paypal/Agreement/Token/Request.php 66:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 100:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 106:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 107:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 111:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 113:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 115:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 117:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 137:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 201:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 201:12 warning $customerEmail parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 206:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 206:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 218:174 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) 223:143 warning Line exceeds 120 characters; contains 143 characters (Generic.Files.LineLength.TooLong) 235:69 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 241:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 241:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 267:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Paypal/Agreement/Financing/FinancingOptionsCreateRequest.php 9:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 9:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Paypal/Agreement/Financing/Request.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 69:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 103:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 109:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 110:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 114:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 116:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 118:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 120:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 145:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 210:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 210:12 warning $agreementReference parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 223:161 warning Line exceeds 120 characters; contains 161 characters (Generic.Files.LineLength.TooLong) 228:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 240:69 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 244:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 246:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 246:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 270:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 270:64 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) Model/Paypal/Agreement/AgreementCreateRequest.php 9:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 9:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Paypal/Agreement/Delete.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Agreement/Cancel.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Agreement/Request.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 69:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 103:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 109:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 110:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 114:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 116:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 118:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 120:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 140:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 202:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 202:12 warning $billingToken parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 216:176 warning Line exceeds 120 characters; contains 176 characters (Generic.Files.LineLength.TooLong) 221:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 233:69 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Paypal/Vault/PaymentTokensRequest.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Vault/DeletePaymentTokensRequest.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) Model/Paypal/Credit/CalculatedFinancingOptionsRequest.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) 13:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Paypal/Webhooks/VerifyWebhookSignatureRequest.php 7:5 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 7:5 warning Visibility must be declared on method "__construct" (Squiz.Scope.MethodScope.Missing) 12:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Paypal/Webhooks/Event.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 33:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 64:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 65:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 67:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 69:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 92:12 warning $eventData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 98:188 warning Line exceeds 120 characters; contains 188 characters (Generic.Files.LineLength.TooLong) 99:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 114:13 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 120:13 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 125:13 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 130:13 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 135:13 warning The CASE body must start on the line following the statement (PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE) 161:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 175:15 warning $eventData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 183:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 20 (PSR2.Methods.FunctionCallSignature.Indent) 183:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 184:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 195:15 warning $eventData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 201:172 warning Line exceeds 120 characters; contains 172 characters (Generic.Files.LineLength.TooLong) 260:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 294:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 315:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/Paypal/Order/Request.php 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 66:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 100:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 106:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 107:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 111:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 113:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 115:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 117:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 137:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 200:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 200:12 warning $customerEmail parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 200:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 218:35 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 219:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 219:104 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 224:35 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 225:1 warning Multi-line function call not indented correctly; expected 12 spaces but found 16 (PSR2.Methods.FunctionCallSignature.Indent) 225:74 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine) 237:69 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 240:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 243:13 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 318:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 326:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 451:27 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 468:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/Paypal/Core/Token.php 31:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 37:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 59:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 64:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 68:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 80:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 86:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 92:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 96:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 107:69 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 126:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) Model/Paypal/Core/GenerateTokenRequest.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Paypal/Core/AccessTokenRequest.php 9:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 19:9 warning Expected "if (...) {\n"; found "if (...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found) 19:14 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 19:36 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) Model/Config/Source/ThreeDsMode.php 10:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Observer/Paypalcp/RiskTransactionObserver.php 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 64:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 64:6 warning Line indented incorrectly; expected at least 12 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) 70:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 70:6 warning Line indented incorrectly; expected at least 12 spaces, found 5 (Generic.WhiteSpace.ScopeIndent.Incorrect) 81:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 81:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 82:12 warning Line indented incorrectly; expected at least 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.Incorrect) 83:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 83:12 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 83:12 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 84:16 warning Line indented incorrectly; expected at least 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.Incorrect) 85:16 warning Line indented incorrectly; expected 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 85:16 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 85:16 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 86:20 warning Line indented incorrectly; expected at least 20 spaces, found 19 (Generic.WhiteSpace.ScopeIndent.Incorrect) 87:20 warning Line indented incorrectly; expected at least 20 spaces, found 19 (Generic.WhiteSpace.ScopeIndent.Incorrect) 87:72 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 88:20 warning Line indented incorrectly; expected at least 20 spaces, found 19 (Generic.WhiteSpace.ScopeIndent.Incorrect) 89:16 warning Line indented incorrectly; expected 16 spaces, found 15 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 90:12 warning Line indented incorrectly; expected 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.IncorrectExact) 96:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 111:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 156:9 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) 157:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 157:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 157:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 158:12 warning Line indented incorrectly; expected at least 12 spaces, found 11 (Generic.WhiteSpace.ScopeIndent.Incorrect) Logger/Handler.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:58 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 43:54 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 56:57 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 63:32 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:54 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 83:56 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 96:55 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 109:53 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 122:54 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 138:60 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 142:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Agreement/Create.php 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 62:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:17 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 81:17 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 100:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 108:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 114:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 130:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Controller/Agreement/Financing.php 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 32:8 warning $paypalAgreementTokenRequest parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 36:12 warning $paypalFinancingRequest parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:1 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 69:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 69:70 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) Controller/Agreement/Reference.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 39:8 warning $customerSession parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 41:12 warning $checkoutSession parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 57:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 68:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 69:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 69:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 75:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 82:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Controller/Agreement/Token.php 14:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Controller/Agreement/Cancel.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 21:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 56:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 66:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 66:66 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 76:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) 76:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Controller/Agreement/Remove.php 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 55:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Controller/Token/Index.php 47:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:13 warning Expected "if (...) {\n"; found "if(...){\n" (PEAR.ControlStructures.ControlSignature.Found) 58:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 58:84 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 61:17 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) 66:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Controller/Financing/Index.php 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) 51:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) 52:139 warning Line exceeds 120 characters; contains 139 characters (Generic.Files.LineLength.TooLong) 57:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Controller/Vault/Remove.php 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 55:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Controller/Webhooks/Index.php 3:1 warning There must be one blank line after the namespace declaration (PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter) 6:59 warning Expected 1 space before implements keyword; 2 found (PSR2.Classes.ClassDeclaration.SpaceBeforeImplements) 9:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 39:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 39:12 warning $paypalConfig parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 71:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 71:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 90:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:134 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 95:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 100:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 121:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 121:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) Controller/Order/Index.php 15:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 16:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 16:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 16:2 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 17:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 17:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 17:2 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 18:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 18:2 warning Line indented incorrectly; expected at least 4 spaces, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect) 18:2 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 61:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 62:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 71:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 71:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 72:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 72:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 73:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 73:4 warning Line indented incorrectly; expected at least 12 spaces, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect) 84:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 84:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 84:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 89:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) view/frontend/templates/paypal/sdk-loader.phtml 19:26 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 59:30 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/promo/message.phtml 5:1 warning Line exceeds 120 characters; contains 177 characters (Generic.Files.LineLength.TooLong) view/frontend/templates/success.phtml 31:7 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 33:11 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 34:54 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 35:38 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) 36:23 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/frontend/templates/info/default.phtml 12:18 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 14:50 warning Expected 1 space after closing parenthesis; found 0 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 26:53 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 28:63 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 28:129 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) view/frontend/email/oxxo_paypment_voucher.html 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var store.frontend_name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var OxxoVoucher (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) view/frontend/web/template/payment/paypaladvanced-form.html 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) view/frontend/web/template/payment/paypal_spb.html 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) view/frontend/web/template/payment/paypal-standard.html 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) view/frontend/web/template/payment/paypal-oxxo.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/adminhtml/templates/info/default.phtml 14:13 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 16:24 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 18:53 warning Expected 0 spaces after closing parenthesis; found 1 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 20:29 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 22:51 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) Block/OrderAccount.php 41:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 45:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 74:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 74:12 warning $orderRepository parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 89:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 90:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 92:12 warning Expected "function abc(...)"; found "function abc(...)" (Squiz.Functions.FunctionDeclaration.Found) 92:12 warning Expected 1 space after FUNCTION keyword; 2 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 111:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 112:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 121:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 122:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 131:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Block/Success.php 40:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags) 42:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription) 44:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 81:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 82:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 84:12 warning Expected "function abc(...)"; found "function abc(...)" (Squiz.Functions.FunctionDeclaration.Found) 84:12 warning Expected 1 space after FUNCTION keyword; 2 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 95:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 96:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 105:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Block/PromoMessage.php 96:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) Block/Info.php 24:3 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 25:4 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 50:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 59:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 59:12 warning $priceCurrency parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 69:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 74:70 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 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) 84:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 87:14 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 88:10 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 94:42 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 96:15 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 96:64 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 110:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) Block/PaypalSdk.php 13:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 14:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 16:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 18:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 38:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 63:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:22 warning The use of function dirname() is discouraged; use Magento\Framework\Filesystem\DriverInterface::getParentDirectory() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 91:14 warning The use of function is_readable() is discouraged; use Magento\Framework\Filesystem\DriverInterface::isReadable() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 104:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 106:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody)