Distribute discount over units #91
Annotations
10 errors
|
src/Setter/OrderDiscountAdjustmentSetter.php#L18
src/Setter/OrderDiscountAdjustmentSetter.php:18:9: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
|
src/Setter/OrderDiscountAdjustmentSetter.php#L29
src/Setter/OrderDiscountAdjustmentSetter.php:29:9: MixedAssignment: Unable to determine the type that $distributedPrices is being assigned to (see https://psalm.dev/032)
|
src/Setter/OrderDiscountAdjustmentSetter.php#L29
src/Setter/OrderDiscountAdjustmentSetter.php:29:30: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
|
src/Setter/OrderDiscountAdjustmentSetter.php#L34
src/Setter/OrderDiscountAdjustmentSetter.php:34:40: MixedAssignment: Unable to determine the type that $i is being assigned to (see https://psalm.dev/032)
|
src/Setter/OrderDiscountAdjustmentSetter.php#L36
src/Setter/OrderDiscountAdjustmentSetter.php:36:33: MixedArgument: Argument 1 of Doctrine\Common\Collections\Collection::get cannot be mixed, expecting array-key (see https://psalm.dev/030)
|
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L25
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:25:54: UndefinedClass: Class, interface or enum named Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface does not exist (see https://psalm.dev/019)
|
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L25
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:25:54: MixedArgument: Argument 1 of Setono\SyliusOrderEditPlugin\Tests\Unit\Setter\OrderDiscountAdjustmentSetterTest::prophesize cannot be mixed, expecting class-string (see https://psalm.dev/030)
|
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php#L29
tests/Unit/Setter/OrderDiscountAdjustmentSetterTest.php:29:13: ArgumentTypeCoercion: Argument 1 of Setono\SyliusOrderEditPlugin\Setter\OrderDiscountAdjustmentSetter::__construct expects Sylius\Component\Core\Distributor\MinimumPriceDistributorInterface, but parent type object provided (see https://psalm.dev/193)
|
|
This job was cancelled
Loading