OP-289: Refactor #442
Annotations
10 errors and 1 warning
Run PHPStan:
src/Inventory/Checker/ProductBundleOrderItemAvailabilityChecker.php#L27
Only numeric types are allowed in *, int|null given on the right side.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L85
Cannot call method isTracked() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L89
Cannot call method getOnHold() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L89
Only numeric types are allowed in -, int|null given on the left side.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L90
Cannot call method getName() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L90
Parameter #1 $variantName of class Sylius\Component\Core\Inventory\Exception\NotEnoughUnitsOnHoldException constructor expects string, string|null given.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L93
Cannot call method getOnHand() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L93
Only numeric types are allowed in -, int|null given on the left side.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L94
Cannot call method getName() on Sylius\Component\Core\Model\ProductVariantInterface|null.
|
Run PHPStan:
src/Inventory/Operator/OrderInventoryOperator.php#L94
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/
|
Loading