Magento Coding Standard (PHPCS) report for trunkrs/magento-2-carrier-plugin
===========================================================================
Package version: 2.4.4 | Magento: 2.4.9 | Tested: 2026-06-03
19 errors, 318 warnings in 40 files
Service/Framework/FileFactory.php
43: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)
48:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
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)
77:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
78:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
78:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
79:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
89:17 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput)
95:17 error Use of echo language construct is discouraged. (Magento2.Security.LanguageConstruct.DirectOutput)
106:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
107:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
108:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Service/Shipment/Packingslip/Items/Barcode.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)
54: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:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
61:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
61:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
62:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
74:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
75:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
75:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
76:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
116:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
117:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
117:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
125:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
126:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
126:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
127:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
128:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
129:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
130:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
147:158 warning Line exceeds 120 characters; contains 158 characters (Generic.Files.LineLength.TooLong)
148:9 warning The use of function file_put_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
156:9 warning The use of function unlink() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
169:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
170:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Items/ItemsInterface.php
9:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
10:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Compatibility/ShipmentFactoryProxy.php
28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
40:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Compatibility/DataHelperFactoryProxy.php
29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
Service/Shipment/Packingslip/Compatibility/PdfRendererFactoryProxy.php
28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
40:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Compatibility/FoomanPdfCustomiser.php
39:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
46: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)
54:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
55:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
78:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
79:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Compatibility/GeneratePdfFactoryProxy.php
29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
Service/Shipment/Packingslip/Compatibility/XtentoPdfCustomizer.php
40: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)
46:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
47:8 warning $magentoShipment parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder)
47:8 warning $factory parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing)
47:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
52:12 warning Extra @param found in method annotation (Magento2.Annotation.MethodArguments.ExtraParam)
67:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
68:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Compatibility/OrderShipmentFactoryProxy.php
28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
40:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Generate.php
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)
42:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
43:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
43:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
44:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Service/Shipment/Packingslip/GetPackingslip.php
39: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)
45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
46:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
46:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Packingslip/Factory.php
54: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)
61:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
62:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
62:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
63:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
85:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
86:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
93:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
94:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
94:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Service/Shipment/Labelling/GetLabels.php
21: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)
25:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
26:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
26:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
40:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
41:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Plugin/Quote/Address/Rate.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
9:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
10:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Plugin/Carrier/DeliveryOptions.php
5:1 warning There must be one blank line after the last USE statement; 2 found; (PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse)
22: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)
26:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
28:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
29:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
Plugin/Checkout/Model/ShippingInformationManagement.php
25:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
26:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
36:9 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed)
36:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
Helper/Data.php
18:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
33:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
39: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)
46:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
47:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
63:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
63:51 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
73:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
82:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
82:44 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
91:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
91:22 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
100:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
100:22 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
109:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
109:51 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
118:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
118:26 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
125:19 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
125:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction)
133:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
133:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
136:19 warning $dateString parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)
136:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction)
150:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
150:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
153:19 warning $dateString parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)
153:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction)
165:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
166:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
167:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
196:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
196:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
222:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
223:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
223:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
224:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
225:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
237:32 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
Model/TrunkrsDisableAutoShipment.php
19:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar)
44: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)
51:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
52:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
52:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
59:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
59:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
Model/TrunkrsIntegration.php
19:15 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar)
44: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)
52:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
52:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
59:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
59:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
Model/Carrier/Shipping.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)
109: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)
121:8 warning Short description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
122:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
122:20 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
134:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
134:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
135:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong)
141:35 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments)
146:13 warning Line indented incorrectly; expected at least 16 spaces, found 12 (Generic.WhiteSpace.ScopeIndent.Incorrect)
146:14 warning Closing parenthesis of a multi-line function call must be on a line by itself (PSR2.Methods.FunctionCallSignature.CloseBracketLine)
164:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
165:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
165:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
168:12 warning $data parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)
172:13 warning Expected "foreach (...) {\n"; found "foreach(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
172:13 warning Expected 1 space after FOREACH keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
178:81 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma)
186:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
187:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
187:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
216:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
216:27 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
225:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
225:27 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
234:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
234:21 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
243:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
243:22 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
252:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
252:39 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
259:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
260:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
267:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
268:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
315:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
315:51 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Observer/TrunkrsSaveShipmentData.php
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)
17:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar)
53:8 warning $convertOrder parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder)
53:8 warning $orderRepository parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing)
54:8 warning $trackFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder)
58:12 warning $cart parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)
76:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
141:21 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
141:21 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
163:44 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
Observer/TrunkrsCancelShipment.php
10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
14:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar)
27:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
42:9 warning Expected "if (...) {\n"; found "if(...)\n {\n" (PEAR.ControlStructures.ControlSignature.Found)
42:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
42:56 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
44:13 warning Expected 1 space after TRY keyword; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
49:64 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma)
Observer/SaveTrunkrsFieldsInOrder.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Observer/TrunkrsShipmentSaveAfter.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)
23:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar)
40:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing)
63:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
64:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
107:21 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
107:21 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
133:44 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
Setup/Patch/Schema/TrunkrsDeliveryText.php
15:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
16:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
57:69 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found)
115:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
116:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Setup/Patch/Data/TrunkrsData.php
15:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
16:1 warning Expected 1 space before asterisk; 0 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar)
49:89 warning No space found after comma in argument list (Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma)
113:9 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
116:9 warning The use of function print_r() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)
registration.php
6:2 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound)
Controller/Adminhtml/LabelAbstract.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)
17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound)
57:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
58:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
58:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Controller/Adminhtml/Order/CreateShipmentAndPrintPackingSlips.php
36:12 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar)
119:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
120:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
136:13 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found)
136:13 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword)
152:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
153:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
153:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
213:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
223:39 warning Expected 1 space after closing parenthesis; found 2 (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis)
232:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
232:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
247:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose)
249:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
250:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
250:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Controller/Adminhtml/PdfDownload.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)
35:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
36:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
36:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
51:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified)
51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
view/frontend/web/template/shipping-address/shipping-method-item.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 error Avoid using self-closing tag with non-void html element - "