@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Core\Model; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
15 | 14 | use Doctrine\Common\Collections\Collection; |
16 | 15 | use PhpSpec\ObjectBehavior; |
17 | 16 | use Sylius\Component\Channel\Model\ChannelInterface; |
@@ -13,12 +13,10 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\Collection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | -use Sylius\Component\Addressing\Model\ZoneInterface; |
|
17 | 16 | use Sylius\Component\Core\Model\ImageInterface; |
18 | 17 | use Sylius\Component\Core\Model\Product; |
19 | 18 | use Sylius\Component\Core\Model\ProductInterface; |
20 | 19 | use Sylius\Component\Core\Model\ProductVariantInterface as VariantInterface; |
21 | -use Sylius\Component\Core\Model\ProductVariantInterface; |
|
22 | 20 | use Sylius\Component\Core\Model\TaxonInterface; |
23 | 21 | use Sylius\Component\Product\Model\Product as SyliusProduct; |
24 | 22 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
@@ -14,7 +14,6 @@ discard block |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | 16 | use SM\Factory\FactoryInterface as StateMachineFactoryInterface; |
17 | -use Sylius\Component\Order\Factory\OrderItemUnitFactoryInterface; |
|
18 | 17 | use Sylius\Component\Core\Model\OrderInterface; |
19 | 18 | use Sylius\Component\Core\Model\OrderItemInterface; |
20 | 19 | use Sylius\Component\Core\Model\OrderItemUnitInterface; |
@@ -22,6 +21,7 @@ discard block |
||
22 | 21 | use Sylius\Component\Core\OrderProcessing\InventoryHandlerInterface; |
23 | 22 | use Sylius\Component\Inventory\InventoryUnitTransitions; |
24 | 23 | use Sylius\Component\Inventory\Operator\InventoryOperatorInterface; |
24 | +use Sylius\Component\Order\Factory\OrderItemUnitFactoryInterface; |
|
25 | 25 | use Sylius\Component\Resource\StateMachine\StateMachineInterface; |
26 | 26 | |
27 | 27 | /** |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
16 | +use Sylius\Component\Core\Model\PaymentInterface; |
|
16 | 17 | use Sylius\Component\Core\OrderProcessing\PaymentProcessorInterface; |
17 | 18 | use Sylius\Component\Payment\Factory\PaymentFactoryInterface; |
18 | -use Sylius\Component\Core\Model\PaymentInterface; |
|
19 | 19 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
20 | 20 | |
21 | 21 | /** |
@@ -12,10 +12,10 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Core\Promotion\Action; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
16 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
17 | 16 | use Sylius\Component\Core\Model\OrderItemInterface; |
18 | 17 | use Sylius\Component\Core\Model\ProductVariantInterface; |
18 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
19 | 19 | use Sylius\Component\Promotion\Action\PromotionActionInterface; |
20 | 20 | use Sylius\Component\Promotion\Model\PromotionInterface; |
21 | 21 | use Sylius\Component\Resource\Factory\FactoryInterface; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use Sylius\Component\Promotion\Action\PromotionActionInterface; |
25 | 25 | use Sylius\Component\Promotion\Model\PromotionInterface; |
26 | 26 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
27 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
28 | 27 | |
29 | 28 | /** |
30 | 29 | * @mixin PercentageDiscountAction |
@@ -13,8 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\Collection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | -use Prophecy\Argument; |
|
17 | -use Sylius\Component\Core\Distributor\IntegerDistributorInterface; |
|
18 | 16 | use Sylius\Component\Core\Model\AdjustmentInterface; |
19 | 17 | use Sylius\Component\Core\Model\OrderInterface; |
20 | 18 | use Sylius\Component\Core\Model\OrderItemInterface; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Core\Promotion\Filter; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\Collection; |
|
15 | 14 | use PhpSpec\ObjectBehavior; |
16 | 15 | use Sylius\Component\Core\Model\OrderItemInterface; |
17 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Core\Model\AdjustmentInterface; |
16 | 16 | use Sylius\Component\Core\Model\OrderInterface; |
17 | -use Sylius\Component\Core\Model\OrderItemUnitInterface; |
|
18 | 17 | use Sylius\Component\Core\Remover\AdjustmentsRemover; |
19 | 18 | use Sylius\Component\Core\Remover\AdjustmentsRemoverInterface; |
20 | 19 |