Magento Coding Standard (PHPCS) report for xpanse/module-payment
================================================================
Package version: 1.0.11 | Magento: 2.4.9 | Tested: 2026-06-02
255 warnings in 33 files
Gateway/Response/TransactionDataHandler.php
58:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
59:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
60:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Gateway/Response/AdditionalDataHandler.php
18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
21: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)
25: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: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)
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)
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)
65:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing)
95:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
96:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
131:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
132:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
132:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
133:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
147:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
148:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
148:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
149:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
159:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
160:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
160:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
161:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
162:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
185:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Gateway/Response/PaymentDataHandler.php
16:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
40:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose)
Gateway/Response/RefundHandler.php
14:8 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
15:6 warning Expected 8 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
15:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
16:6 warning Expected 8 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
16:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
17:6 warning Expected 8 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
18:6 warning Expected 8 spaces before asterisk; 5 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
Gateway/Response/CustomerDataHandler.php
20:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
26:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing)
64:19 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
Gateway/Request/CustomerDataBuilder.php
15:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
20:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
27:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
34:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing)
68:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
Gateway/Request/OrderDataBuilder.php
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)
24: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)
28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
44:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing)
71:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
72:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
72:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
131:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
133:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
134:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
142:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
143:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
143:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
144:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
145:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
159:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines)
162:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
164:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
176:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
177:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
177:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
178:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Gateway/Request/PaymentDataBuilder.php
15:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
23: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)
27: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)
31: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)
Gateway/Data/OrderAdapter.php
15:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
151:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
151:26 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
159:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
160:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
160:33 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
167:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
172:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
177:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Gateway/Http/Client/AbstractTransaction.php
41:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing)
79:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Gateway/Http/Client/TransactionCapture.php
11:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
Gateway/Config/Config.php
15:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found)
Gateway/Validator/ErrorCodeProvider.php
18:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Gateway/Validator/BasicValidator.php
12:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Gateway/SubjectReader.php
14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
46:8 warning $subject parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing)
50:12 warning $response parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)
Model/Config.php
10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
11: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)
16:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
19:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
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)
24: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)
28: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)
31:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
32:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
56:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
61:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
66:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
71:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
76:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
81:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
86:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
91:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
96:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
104:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
112:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
119:67 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
131:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/Adapter/xpanseAdapter.php
14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
14:7 warning Class name "xpanseAdapter" is not in PascalCase format (Squiz.Classes.ValidClassName.NotCamelCaps)
31:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
32:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
32:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
48:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
49:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
49:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
65:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
66:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
66:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
96:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
112:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
128:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
142:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
159:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/Adapter/XpanseAdapter.php
14:1 warning Duplicate class name "xpanse\Payment\Model\Adapter\xpanseAdapter" found; first defined in /data/vendor/xpanse/module-payment/Model/Adapter/xpanseAdapter.php on line 14 (Generic.Classes.DuplicateClassName.Found)
14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
14:7 warning Class name "xpanseAdapter" is not in PascalCase format (Squiz.Classes.ValidClassName.NotCamelCaps)
31:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
32:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
32:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
48:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
49:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
49:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
65:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
66:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
66:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
96:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
112:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
128:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
142:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
159:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/Ui/ConfigProvider.php
14:1 warning Class description must contain meaningful information beyond what its name provides or be removed. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.InvalidDescription)
17:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
18:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
19:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
20:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
22:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
60:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
69:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
98:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
108:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Observer/XpanseAssignAdditionalDataObserver.php
8:7 warning Class name "xpanseAssignAdditionalDataObserver" is not in PascalCase format (Squiz.Classes.ValidClassName.NotCamelCaps)
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)
14: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 Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Observer/xpanseAssignAdditionalDataObserver.php
8:1 warning Duplicate class name "xpanse\Payment\Observer\xpanseAssignAdditionalDataObserver" found; first defined in /data/vendor/xpanse/module-payment/Observer/XpanseAssignAdditionalDataObserver.php on line 8 (Generic.Classes.DuplicateClassName.Found)
8:7 warning Class name "xpanseAssignAdditionalDataObserver" is not in PascalCase format (Squiz.Classes.ValidClassName.NotCamelCaps)
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)
14: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 Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Setup/Patch/Data/AddXpansePaymentId.php
57:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
108:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
116:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Controller/Adminhtml/Configuration/Validate.php
17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
24:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
26:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
33:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing)
45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
90:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
100:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
109:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
109:12 warning Method name "Validate::ProvidersByPublicKey" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps)
view/frontend/web/template/payment/xpanse-payto-form.html
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/xpanse-card-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)
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/xpanse-checkout-form.html
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/xpanse-applepay-form.html
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/xpanse-googlepay-form.html
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/xpanse-paypal-form.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
view/frontend/web/css/xpanse.less
2:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect)
5:1 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage)
6:1 warning Line indented incorrectly; expected 4 spaces, found 2 (Magento2.Less.Indentation.Incorrect)
view/adminhtml/web/js/system.js
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - " " (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
Block/Adminhtml/Validation.php
22:34 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Block/OrderTransactionInfo.php
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: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)
24: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)
28: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)
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)
36: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: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)
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)
50:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
55:25 warning The closing parenthesis of a multi-line function declaration must be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine)
56: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)
80:151 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong)
87:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines)
150:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 38 (Squiz.Functions.MultiLineFunctionDeclaration.Indent)
151:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 38 (Squiz.Functions.MultiLineFunctionDeclaration.Indent)