Magento Coding Standard (PHPCS) report for shippit/magento2 =========================================================== Package version: v1.10.0 | Magento: 2.4.9 | Tested: 2026-05-27 4 errors, 882 warnings in 85 files src/Plugin/Sales/AddSendToShippitButtonPlugin.php 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 32:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 53:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Plugin/Sales/Shipment/WebhookCsrfValidatorSkip.php 21:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Plugin/AddOrderToSyncQueuePlugin.php 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 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) 33:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 35:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 35:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 49:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 81:46 warning TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" (Generic.PHP.LowerCaseConstant.Found) 88:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 103:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 109:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 112:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 115:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 121:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) src/Plugin/Checkout/QuoteAuthorityToLeavePlugin.php 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) src/Plugin/Checkout/AuthorityToLeavePlugin.php 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 23:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 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) 76:9 warning Line indented incorrectly; expected at least 12 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) src/Plugin/Checkout/QuoteDeliveryInstructionsPlugin.php 43:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) src/Plugin/Checkout/DeliveryInstructionsPlugin.php 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 23:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 23:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 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) 75:9 warning Line indented incorrectly; expected at least 12 spaces, found 8 (Generic.WhiteSpace.ScopeIndent.Incorrect) src/Helper/Api.php 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) 177:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Helper/Data.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 53:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 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) 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 73:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 101:8 warning Tags visual alignment must be consistent (Magento2.Annotation.MethodAnnotationStructure.MethodArguments) 110:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 116:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 117:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 117:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 123:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 124:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 124:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 129:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 130:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 130:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 135:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 136:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 136:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 141:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 142:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 142:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 147:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 148:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 148:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 153:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 154:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 154:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 159:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 160:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 165:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Helper/Carrier/Shippit.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 32:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 55:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 62:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 75:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 80:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 85:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 90:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 95:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 100:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 105:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 110:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 115:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 120:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 125:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 140:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 155:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Helper/Carrier/ClickAndCollect.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 36:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 44:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Helper/Sync/Order.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 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) 62:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 72:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 93:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 112:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 115:17 warning Expected "} elseif (...) {\n"; found "}\n // allows for legacy capability where\n // "priority" was referred to as "premium"\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 117:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 118:17 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 120:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 121:17 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) src/Helper/Sync/Shipping.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Helper/Sync/Order/Items.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 40:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 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) 101:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 106:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 111:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 116:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 124:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 146:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 159:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 172:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 185:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 206:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 227:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 248:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 269:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 290:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 305:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 318:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 327:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 329:9 warning Expected "} else {\n"; found "}\n // otherwise, return the qty requested\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 334:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 345:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 347:13 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 350:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 351:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 361:69 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 373:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 374:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 382:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Helper/Checkout.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 38:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 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) 54:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Shippit.php 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 24:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25: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) 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 29:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 47:48 warning Short description should not be in multi lines (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 79:174 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong) src/Model/Request/Shipment.php 74:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 79:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 87:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 92:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 96:46 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 102:45 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 156:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 160:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 161:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 176:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 178:9 warning Expected "} else {\n"; found "}\n // otherwise, only mark the items and qtys specified as shipped\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 197:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) src/Model/Request/Order.php 57:8 warning $helper parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 60:8 warning $resource parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 62:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 62:12 warning $syncOrder parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 62:12 warning $localeResolver parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 80:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 106:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 107:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 117:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 141:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 161:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 172:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 173:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 197:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 259:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 260:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 431:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 434:9 warning Expected "} elseif (...) {\n"; found "}\n // If shipping method is in the list of available\n // couriers then set a courier allocation\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 438:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 441:9 warning Expected "} else {\n"; found "}\n // Otherwise, if no matches are found, send\n // the order as a standard service level\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 446:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 452:61 warning TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" (Generic.PHP.LowerCaseConstant.Found) 462:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 463:17 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 466:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 467:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 470:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 471:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 476:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 482:61 warning TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" (Generic.PHP.LowerCaseConstant.Found) 492:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 493:17 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 496:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 497:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 500:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 501:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 698:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 699:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 738:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) src/Model/Request/SyncOrder.php 22:105 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 51:8 warning $orderItemInterface, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 53:8 warning $resource parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 54:8 warning $resourceCollection parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 56:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 56:12 warning $directoryHelper parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 180:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 181:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 201:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 260:64 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 267:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 271:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 272:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 297:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 298:17 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 303:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 304:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 309:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 310:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 315:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 320:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 327:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 334:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 339:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 348:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 349:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 354:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 374:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 376:9 warning Expected "} else {\n"; found "}\n // if we are sending the bundle individually\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 381:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 389:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 394:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 405:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 416:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 427:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 438:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 453:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 463:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 479:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 502:58 warning Expected 1 space after FUNCTION keyword; 0 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 518:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 533:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 543:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 558:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 571:6 warning Additional blank lines found at end of the annotation block (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 572:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 610:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) src/Model/ResourceModel/Sync/Order/Item/Collection.php 36:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 37:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 43:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Model/ResourceModel/Sync/Order/Collection.php 36:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 37:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Model/ResourceModel/Sync/Shipment/Item/Collection.php 36:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 37:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 43:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 52:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) src/Model/ResourceModel/Sync/Shipment/Collection.php 36:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 37:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Model/Carrier/Shippit.php 34:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 35:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 36:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 90:8 warning $rateMethodFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 91:8 warning $trackFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 92:8 warning $trackErrorFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 93:8 warning $trackStatusFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 94:8 warning $regionFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 95:8 warning $countryFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 96:8 warning $currencyFactory parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 97:8 warning $directoryData parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 98:8 warning $stockRegistry parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 99:8 warning $helper parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 100:8 warning $api parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 102:8 warning $methods parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 103:8 warning $quote parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 105:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 105:12 warning $rateFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 105:12 warning $itemsHelper parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 163:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 170:12 warning Motivation behind the added @deprecated tag MUST be explained. @see tag MUST be used with reference to new implementation when code is deprecated and there is a new alternative. (Magento2.Annotation.MethodAnnotationStructure.InvalidDeprecatedTagUsage) 179:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 193:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 200:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 202:9 warning Expected "} elseif (...) {\n"; found "}\n // Otherwise, for non-AU destinations, postcode and suburb are required\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 202:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 214:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 221:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 222:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 291:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 306:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 311:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 355:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 370:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 385:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 402:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 403:156 warning Line exceeds 120 characters; contains 156 characters (Generic.Files.LineLength.TooLong) 404:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 405:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 422:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 465:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 485:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 542:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 547:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 552:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 589:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 590:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 595:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 614:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 633:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 634:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 635:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 636:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 652:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 660:46 warning TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" (Generic.PHP.LowerCaseConstant.Found) 671:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 672:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 689:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 700:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 713:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 766:17 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 778:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 789:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 801:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 803:9 warning Expected "} elseif (...) {\n"; found "}\n // Always true if item product type is a grouped product\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 805:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 807:9 warning Expected "} elseif (...) {\n"; found "}\n // If the product is a bundle, check if it's shipped together or seperately...\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 814:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 816:17 warning Expected "} else {\n"; found "}\n // Otherewise, if it's the child item of a shipped seperately bundle\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 819:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 820:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 825:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 827:17 warning Expected "} else {\n"; found "}\n // Otherewise, if it's the child item of a shipped together bundle\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 831:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 833:9 warning Expected "} elseif (...) {\n"; found "}\n // If the product is a configurable product\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 837:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 838:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 844:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 853:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 862:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 871:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 875:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 876:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) src/Model/Carrier/ClickAndCollect.php 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) 33:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 42:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 42:12 warning $rateResultFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 42:12 warning $rateMethodFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 63:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 68:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 77:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 78:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 95:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Config/CheckoutConfigProvider.php 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 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) 36:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Model/Config/Backend/Shippit/General/ApiKey.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 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) 33:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 34:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 36:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 92:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 117:17 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 118:17 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 122:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 123:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 130:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 134:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 144:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 151:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 154:9 warning Expected "} elseif (...) {\n"; found "}\n // If the current scope is a website, get\n // the default store id for the website\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 159:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 160:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 167:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 174:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 176:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) src/Model/Config/Backend/Shippit/SyncShipping/Active.php 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:138 warning Line exceeds 120 characters; contains 138 characters (Generic.Files.LineLength.TooLong) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:154 warning Line exceeds 120 characters; contains 154 characters (Generic.Files.LineLength.TooLong) 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:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 34:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 36:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 37:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 39:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 41:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:8 warning $storeManager, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 51:8 warning $messageManager, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 52:8 warning $configInterface, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 53:8 warning $dataObjectFactory, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 54:8 warning $appEmulation, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 55:8 warning $api, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 56:8 warning $logger, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 57:8 warning $helper, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 58:8 warning $syncShippingHelper, parameter is missing in method arguments signature (Magento2.Annotation.MethodArguments.ArgumentMissing) 100:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 123:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 124:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 132:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 133:13 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 137:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 141:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 151:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 158:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 161:9 warning Expected "} elseif (...) {\n"; found "}\n // If the current scope is a website, get\n // the default store id for the website\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 166:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 167:9 warning Expected "} elseif (...) {\n"; found "}\n elseif (...) {\n" (PEAR.ControlStructures.ControlSignature.Found) src/Model/Config/Source/Catalog/Products.php 29:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) src/Model/Config/Source/Catalog/Unit/Dimensions.php 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Config/Source/Catalog/Attributes.php 21:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 22:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) src/Model/Config/Source/Shippit/MaxTimeslots.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) src/Model/Config/Source/Shippit/Shipping/Methods.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) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:19 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) src/Model/Config/Source/Shippit/Environment.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Model/Config/Source/Shippit/Sync/Order/Mode.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) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Model/Config/Source/Shippit/Sync/Order/SendAllOrders.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) 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) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Model/Config/Source/Shippit/Margin.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Model/Api/Shipment.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 63:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 77:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 83:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 114:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 147:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 167:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 194:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 207:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 218:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 240:13 warning Direct throw of generic Exception is discouraged. Use context specific instead. (Magento2.Exceptions.DirectThrow.FoundDirectThrow) src/Model/Api/Order.php 61:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 120:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 152:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 183:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 223:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 236:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) src/Model/Sync/Shipment.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 68:8 warning $resource parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 69:8 warning $resourceCollection parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 71:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 71:12 warning $syncShipmentItemFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 95:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Model/Sync/Order.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 75:8 warning $resource parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 76:8 warning $resourceCollection parameter is not in order (Magento2.Annotation.MethodArguments.ParamOrder) 78:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 78:12 warning $syncOrderItemFactory parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 102:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 105:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 191:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Sync/Order/Item.php 28:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Model/Sync/Shipment/Item.php 19:97 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 28:22 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Observer/Shippit.php 24:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 27:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 27:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 35:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 71:9 warning Empty return statement not required here (Squiz.PHP.NonExecutableCode.ReturnNotRequired) src/Observer/SaveDeliveryInstructionsToOrderObserver.php 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) src/Observer/AddHtmlToOrderShippingViewObserver.php 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Observer/SaveAuthorityToLeaveToOrderObserver.php 46:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) src/Setup/InstallSchema.php 1:1 error InstallSchema scripts are obsolete. Please use declarative schema approach in module's etc/db_schema.xml file (Magento2.Legacy.InstallUpgrade.ObsoleteInstallSchemaScript) 11:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 12:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 13:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 14:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) src/Setup/UpgradeData.php 1:1 error UpgradeData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeDataScript) 11:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 12:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 13:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 14:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 48: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) 84:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 84:12 warning Method name "UpgradeData::upgrade_1119" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 111:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 111:12 warning Method name "UpgradeData::upgrade_126" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 139:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 139:12 warning Method name "UpgradeData::upgrade_1410" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 147:40 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) src/Setup/InstallData.php 1:1 error InstallData scripts are obsolete. Please use data patches approach in module's Setup/Patch/Data dir (Magento2.Legacy.InstallUpgrade.ObsoleteInstallDataScript) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Setup/UpgradeSchema.php 1:1 error UpgradeSchema scripts are obsolete. Please use declarative schema approach in module's etc/db_schema.xml file (Magento2.Legacy.InstallUpgrade.ObsoleteUpgradeSchemaScript) 11:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 12:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 13:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 14:2 warning Expected 1 space after asterisk; 2 found (Squiz.Commenting.DocCommentAlignment.SpaceAfterStar) 95:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 98:12 warning Method name "UpgradeSchema::upgrade_104" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 329:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 332:12 warning Method name "UpgradeSchema::upgrade_105" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 384:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 387:12 warning Method name "UpgradeSchema::upgrade_1121" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 443:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 446:12 warning Method name "UpgradeSchema::upgrade_126" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 497:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 500:12 warning Method name "UpgradeSchema::upgrade_140" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 512:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 524:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 533:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 544:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 555:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 565:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 572:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 579:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 589:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 596:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 652:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 664:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 674:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 683:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 690:17 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 735:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 738:12 warning Method name "UpgradeSchema::upgrade_145" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 764:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 767:12 warning Method name "UpgradeSchema::upgrade_148" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 794:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 797:12 warning Method name "UpgradeSchema::upgrade_1419" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) 847:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 850:12 warning Method name "UpgradeSchema::upgrade_170" is not in camel caps format (PSR1.Methods.CamelCapsMethodName.NotCamelCaps) src/Console/Command/SyncOrdersCommand.php 53:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 61:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 67:33 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Logger/Handler.php 30:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) src/Controller/Adminhtml/Order/MassSync.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 41:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 71:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) src/Controller/Adminhtml/Order/Sync.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 29:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 29:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 41:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 91:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 95:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) src/Controller/Adminhtml/Sync/Order/Index.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Controller/Adminhtml/Sync/Order/Delete.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 48:30 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 55:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) src/Controller/Adminhtml/Sync/Order/Sync.php 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:12 warning Expected "function abc(...)"; found "function abc (...)" (Squiz.Functions.FunctionDeclaration.Found) 31:33 warning Expected 0 spaces before opening parenthesis; 1 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen) 45:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 101:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) src/Controller/Adminhtml/Sync/Order/Schedule.php 21:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) src/Controller/Adminhtml/Sync/Shipment/Index.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) src/Controller/Adminhtml/Sync/Shipment/Delete.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:29 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 61:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 74:13 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 100:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 101:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 107:9 warning Empty return statement not required here (Squiz.PHP.NonExecutableCode.ReturnNotRequired) 109:5 warning Function closing brace must go on the next line following the body; found 1 blank lines before brace (PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose) src/Controller/Adminhtml/Sync/Shipment/Sync.php 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 45:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 58:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 78:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 126:13 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 135:9 warning Empty return statement not required here (Squiz.PHP.NonExecutableCode.ReturnNotRequired) src/Controller/Adminhtml/Sync/Shipment/Schedule.php 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 40:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:31 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 60:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 96:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 97:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 98:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 99:131 warning Line exceeds 120 characters; contains 131 characters (Generic.Files.LineLength.TooLong) 103:9 warning Empty return statement not required here (Squiz.PHP.NonExecutableCode.ReturnNotRequired) src/Controller/Router.php 13:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 54:13 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) src/Controller/Order/Update.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) 23:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 24:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 25:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 26:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 27:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 29:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 65:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 69:1 warning Blank lines are not allowed in a multi-line function declaration (Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine) 75:60 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 76:56 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 77:78 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 77:135 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 78:56 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 127:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 128:29 warning Expected 1 space after closing parenthesis; found newline (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis) 137:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 153:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 184:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 186:20 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 188:30 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 191:16 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 194:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 194:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 205:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 205:49 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 255:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 266:13 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 279:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 314:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 314:54 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 323:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 323:47 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 328:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 328:51 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 337:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 337:54 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 341:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 342:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 347:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 347:48 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 350:20 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 356:13 warning Expected 1 space after FUNCTION keyword; 0 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 357:24 warning Short array syntax must be used to define arrays (Generic.Arrays.DisallowLongArraySyntax.Found) 367:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/view/adminhtml/templates/order/view/shippit_order_options.phtml 20:13 warning Short echo tag syntax must be used; expected "