Magento Coding Standard (PHPCS) report for picpay/magento2 ========================================================== Package version: 0.0.2 | Magento: 2.4.9 | Tested: 2026-05-27 38 errors, 393 warnings in 33 files Gateway/Response/RefundHandler.php 29:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 29:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 30:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 30:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 35:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 36:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 42:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Response/TxnIdHandler.php 60:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 84:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 109:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Gateway/Command/InitializeCommand.php 23:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 27:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Command/DoNothingCommand.php 12:12 warning Empty FUNCTION statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedFunction) 16:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Request/RefundRequest.php 27:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 31:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 60:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Request/VoidRequest.php 27:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 31:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 60:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Request/CaptureRequest.php 23:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) Gateway/Request/MockDataRequest.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 36:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Http/TransferFactory.php 30:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 47:26 error Class 'Zend_Http_Client' is restricted in /data/vendor/picpay/magento2/Gateway/Http/TransferFactory.php. Suggested replacement: Laminas\Http\Request (Magento2.Legacy.RestrictedCode.ZendHttpIsRestricted) 59:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Gateway/Http/Client/ClientMock.php 25:8 warning $logger parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 25:8 warning $clientFactory parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 29:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 29:12 warning $picpay parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Gateway/Validator/ResponseCodeValidator.php 36:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Helper/Data.php 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) 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) 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) 45:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 46:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 49:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 194:13 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 199:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 200:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 215:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 414:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 421:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 435:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 436:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 445:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 445:36 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 447:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 473:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 504:12 warning $data parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 512:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 514:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 515:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 540:26 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 552:26 error Class 'Zend_Http_Response' is restricted in /data/vendor/picpay/magento2/Helper/Data.php. Suggested replacement: Laminas\Http\Response (Magento2.Legacy.RestrictedCode.ZendHttpIsRestricted) 555:24 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 560:30 error Class 'Zend_Http_Response' is restricted in /data/vendor/picpay/magento2/Helper/Data.php. Suggested replacement: Laminas\Http\Response (Magento2.Legacy.RestrictedCode.ZendHttpIsRestricted) 561:24 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 574:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 584:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 618:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 644:44 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 671:33 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 677:29 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 756:13 warning There must be a comment when fall-through is intentional in a non-empty case body (PSR2.ControlStructures.SwitchDeclaration.TerminatingComment) 769:15 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 864:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Observer.php 1:1 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 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) 85:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 85:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 91:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 91:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 96:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 107:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 115:9 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 117:9 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 117:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 117:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 118:13 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 122:9 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 124:9 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 124:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 124:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 125:13 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 126:13 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 128:13 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 131:9 warning Code after the RETURN statement on line 113 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 137:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 145:9 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 147:9 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 147:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 147:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 148:13 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 151:9 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 154:9 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 156:9 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 156:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 156:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 157:13 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 158:13 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 160:13 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 163:9 warning Code after the RETURN statement on line 143 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 169:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 176:9 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 178:9 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 178:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 178:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 179:13 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 182:9 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 183:9 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 184:13 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 186:13 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 188:13 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 188:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 188:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 189:17 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 189:25 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 190:21 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 190:21 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 191:25 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 192:25 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 192:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong) 193:25 warning Code after the RETURN statement on line 174 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 203:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 210:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 212:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 212:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 212:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 213:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 214:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 216:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 220:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 221:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 223:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 224:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 226:9 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 227:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 228:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 229:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 230:17 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 231:17 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 234:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 235:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 235:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 235:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 236:17 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 239:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 240:17 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 241:17 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 242:17 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 242:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 244:13 warning Code after the RETURN statement on line 208 cannot be executed (Squiz.PHP.NonExecutableCode.Unreachable) 247:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/PicpayInstructionsConfigProvider.php 32:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 43:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 61:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 74:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Ui/ConfigProvider.php 11:1 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 13:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Mode.php 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Model/Source/Customer/Taxvat.php 12:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 18:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 27:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 28:22 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 33:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 34:66 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 43:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 44:65 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 53:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Model/Source/Customer/Address.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 26:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 26:21 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 33:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 36:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 38:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong) 40:38 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 43:34 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) Controller/Standard/Success.php 7:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 12:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) Controller/Standard/Redirect.php 13: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) 20:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 40:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 40:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 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) 55:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Controller/Adminhtml/Consult/Index.php 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 37:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 37:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 45:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 45:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 49:52 warning The use of function _() is discouraged; use Magento\Framework\Translate\AdapterInterface::translate() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 54:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 56:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 56:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 57:52 warning The use of function _() is discouraged; use Magento\Framework\Translate\AdapterInterface::translate() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 63:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 63:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 89:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 92:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 92:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 97:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Controller/Notification/Index.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 70:15 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 70:40 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 75:24 error Class 'Zend_Json' is restricted in /data/vendor/picpay/magento2/Controller/Notification/Index.php. Suggested replacement: Magento\Framework\Serialize\Serializer\Json (Magento2.Legacy.RestrictedCode.ZendJsonIsRestricted) 86:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam) 86:36 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 100:62 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 106:45 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 106:48 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 107:45 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 107:48 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 108:45 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 108:48 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma) 109:30 error Class 'Zend_Json' is restricted in /data/vendor/picpay/magento2/Controller/Notification/Index.php. Suggested replacement: Magento\Framework\Serialize\Serializer\Json (Magento2.Legacy.RestrictedCode.ZendJsonIsRestricted) 109:41 warning Space after opening parenthesis of function call prohibited (PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket) 109:55 warning Expected 0 spaces before closing parenthesis; 1 found (PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket) 110:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 113:32 error Class 'Zend_Json_Exception' is restricted in /data/vendor/picpay/magento2/Controller/Notification/Index.php. Suggested replacement: \InvalidArgumentException (Magento2.Legacy.RestrictedCode.ZendJsonIsRestricted) 127:30 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 132:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 159:9 warning Line indented incorrectly; expected at least 16 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) 160:9 warning Line indented incorrectly; expected at least 16 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) 184:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 187:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 187:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 192:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 196:54 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 209:52 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 220:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) view/frontend/templates/info.phtml 1:4 warning Short echo tag syntax must be used; expected "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/adminhtml/templates/info.phtml 1:4 warning Short echo tag syntax must be used; expected "