OP-289: Refactor #440
Annotations
10 errors and 1 warning
src/Inventory/Checker/ProductBundleOrderItemAvailabilityChecker.php#L27
Only numeric types are allowed in *, int|null given on the right side.
|
src/Inventory/Operator/OrderInventoryOperator.php#L84
Cannot call method isTracked() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
src/Inventory/Operator/OrderInventoryOperator.php#L88
Cannot call method getOnHold() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
src/Inventory/Operator/OrderInventoryOperator.php#L88
Only numeric types are allowed in -, int|null given on the left side.
|
src/Inventory/Operator/OrderInventoryOperator.php#L89
Cannot call method getName() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
src/Inventory/Operator/OrderInventoryOperator.php#L89
Parameter #1 $variantName of class Sylius\Component\Core\Inventory\Exception\NotEnoughUnitsOnHoldException constructor expects string, string|null given.
|
src/Inventory/Operator/OrderInventoryOperator.php#L92
Cannot call method getOnHand() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
src/Inventory/Operator/OrderInventoryOperator.php#L92
Only numeric types are allowed in -, int|null given on the left side.
|
src/Inventory/Operator/OrderInventoryOperator.php#L93
Cannot call method getName() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
src/Inventory/Operator/OrderInventoryOperator.php#L93
Parameter #1 $variantName of class Sylius\Component\Core\Inventory\Exception\NotEnoughUnitsOnHandException constructor expects string, string|null given.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading