@@ -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; |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Grid\DataExtractor\DataExtractorInterface; |
15 | 15 | use Sylius\Component\Grid\Definition\Field; |
16 | -use Webmozart\Assert\Assert; |
|
17 | 16 | use Symfony\Component\OptionsResolver\OptionsResolver; |
17 | +use Webmozart\Assert\Assert; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -12,12 +12,10 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Payment\Resolver; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Component\Payment\Model\PaymentInterface; |
17 | 16 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
18 | 17 | use Sylius\Component\Payment\Resolver\MethodsResolverInterface; |
19 | 18 | use Sylius\Component\Registry\PrioritizedServiceRegistryInterface; |
20 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
21 | 19 | |
22 | 20 | /** |
23 | 21 | * @author Anna Walasek <[email protected]> |
@@ -18,10 +18,8 @@ |
||
18 | 18 | use Sylius\Component\Resource\Model\TimestampableTrait; |
19 | 19 | use Sylius\Component\Resource\Model\ToggleableTrait; |
20 | 20 | use Sylius\Component\Resource\Model\TranslatableTrait; |
21 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
22 | 21 | use Sylius\Component\Variation\Model\OptionInterface as BaseOptionInterface; |
23 | 22 | use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
24 | -use Webmozart\Assert\Assert; |
|
25 | 23 | |
26 | 24 | /** |
27 | 25 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Component\Product\Model; |
13 | 13 | |
14 | 14 | use Sylius\Component\Variation\Model\Variant as BaseVariant; |
15 | -use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,10 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Product\Model; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
15 | 14 | use Doctrine\Common\Collections\Collection; |
16 | 15 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | 16 | use Sylius\Component\Association\Model\AssociableInterface; |
19 | 17 | use Sylius\Component\Product\Model\ArchetypeInterface; |
20 | 18 | use Sylius\Component\Product\Model\AttributeValueInterface; |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
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; |
@@ -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; |