Skip to content

MOL-1225: add batch shipments to administration #1384

MOL-1225: add batch shipments to administration

MOL-1225: add batch shipments to administration #1384

Triggered via pull request December 13, 2023 14:13
Status Failure
Total duration 6m 49s
Artifacts

pr_pipe.yml

on: pull_request
Install Dependencies
1m 12s
Install Dependencies
Test Plugin Configuration
12s
Test Plugin Configuration
Jest Tests
18s
Jest Tests
Test Plugin Snippets
15s
Test Plugin Snippets
ESLint
11s
ESLint
Stylelint
10s
Stylelint
PHP Syntax Checks
18s
PHP Syntax Checks
PHP 7.2 Compatibility
36s
PHP 7.2 Compatibility
PHPStan
31s
PHPStan
PHP CS Fixer
26s
PHP CS Fixer
Matrix: e2e
Mutation Tests
0s
Mutation Tests
Stryker Tests
49s
Stryker Tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Stylelint
Process completed with exit code 2.
PHPUnit
Process completed with exit code 2.
PHPStan: src/Components/ShipmentManager/ShipmentManager.php#L136
Cannot call method first() on Shopware\Core\Checkout\Order\Aggregate\OrderDelivery\OrderDeliveryCollection|null.
PHPStan: src/Components/ShipmentManager/ShipmentManager.php#L196
Cannot call method first() on Shopware\Core\Checkout\Order\Aggregate\OrderDelivery\OrderDeliveryCollection|null.
PHPStan: src/Components/ShipmentManager/ShipmentManager.php#L249
Cannot call method getCarrier() on Kiener\MolliePayments\Components\ShipmentManager\Models\TrackingData|null.
PHPStan: src/Components/ShipmentManager/ShipmentManager.php#L249
Cannot call method getCode() on Kiener\MolliePayments\Components\ShipmentManager\Models\TrackingData|null.
PHPStan: src/Components/ShipmentManager/ShipmentManager.php#L249
Cannot call method getTrackingUrl() on Kiener\MolliePayments\Components\ShipmentManager\Models\TrackingData|null.
PHPStan: src/Components/ShipmentManager/ShipmentManager.php#L295
Argument of an invalid type Shopware\Core\Checkout\Order\Aggregate\OrderDelivery\OrderDeliveryCollection|null supplied for foreach, only iterables are supported.
PHPStan: src/Controller/Api/Order/ShippingControllerBase.php#L93
Method Kiener\MolliePayments\Components\ShipmentManager\ShipmentManager::shipOrder() invoked with 6 parameters, 4 required.
PHPStan: src/Controller/Api/Order/ShippingControllerBase.php#L148
Method Kiener\MolliePayments\Components\ShipmentManager\ShipmentManager::shipItem() invoked with 7 parameters, 5 required.
PHPStan: src/Helper/DeliveryStateHelper.php#L22
Property Kiener\MolliePayments\Helper\DeliveryStateHelper::$deliveryService is never read, only written.
PHPStan: src/Helper/DeliveryStateHelper.php#L25
Property Kiener\MolliePayments\Helper\DeliveryStateHelper::$stateMachineRegistry is never read, only written.
Build Plugin
Process completed with exit code 2.