@@ -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 | /** |
@@ -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 | /** |
@@ -14,30 +14,29 @@ |
||
14 | 14 | use Behat\Behat\Context\Context; |
15 | 15 | use Doctrine\Common\Persistence\ObjectManager; |
16 | 16 | use SM\Factory\FactoryInterface as StateMachineFactoryInterface; |
17 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
17 | 18 | use Sylius\Component\Core\Currency\CurrencyStorageInterface; |
18 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
19 | -use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
20 | -use Sylius\Component\Core\OrderCheckoutTransitions; |
|
21 | -use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
22 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
23 | 19 | use Sylius\Component\Core\Model\AddressInterface; |
20 | +use Sylius\Component\Core\Model\ChannelInterface; |
|
24 | 21 | use Sylius\Component\Core\Model\OrderInterface; |
25 | 22 | use Sylius\Component\Core\Model\OrderItemInterface; |
26 | 23 | use Sylius\Component\Core\Model\ProductInterface; |
27 | 24 | use Sylius\Component\Core\Model\ProductVariantInterface; |
25 | +use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
28 | 26 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
27 | +use Sylius\Component\Core\OrderCheckoutTransitions; |
|
29 | 28 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
30 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
29 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
30 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
31 | 31 | use Sylius\Component\Order\OrderTransitions; |
32 | -use Sylius\Component\Payment\Model\PaymentInterface; |
|
32 | +use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
33 | 33 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
34 | 34 | use Sylius\Component\Payment\PaymentTransitions; |
35 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
35 | 36 | use Sylius\Component\Resource\Factory\FactoryInterface; |
36 | 37 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
37 | 38 | use Sylius\Component\Shipping\ShipmentTransitions; |
38 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
39 | 39 | use Sylius\Component\User\Model\UserInterface; |
40 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
41 | 40 | |
42 | 41 | /** |
43 | 42 | * @author Łukasz Chruściel <[email protected]> |
@@ -12,9 +12,8 @@ |
||
12 | 12 | namespace Sylius\Behat\Context\Transform; |
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | -use Sylius\Component\Core\Model\OrderInterface; |
|
16 | -use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
|
17 | 15 | use Sylius\Component\Core\Repository\CustomerRepositoryInterface; |
16 | +use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
|
18 | 17 | use Webmozart\Assert\Assert; |
19 | 18 | |
20 | 19 | /** |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | 15 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
16 | -use Sylius\Component\Core\Repository\ProductVariantRepositoryInterface; |
|
17 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
18 | 17 | use Webmozart\Assert\Assert; |
19 | 18 |
@@ -15,9 +15,9 @@ |
||
15 | 15 | use Sylius\Behat\Page\Admin\Channel\IndexPageInterface; |
16 | 16 | use Sylius\Behat\Page\Admin\Channel\UpdatePageInterface; |
17 | 17 | use Sylius\Behat\Page\Shop\HomePageInterface; |
18 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
18 | 19 | use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
19 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
20 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
21 | 21 | use Webmozart\Assert\Assert; |
22 | 22 | |
23 | 23 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Page\Shop\Account; |
13 | 13 | |
14 | 14 | use Sylius\Behat\Page\SymfonyPageInterface; |
15 | -use Sylius\Component\User\Model\UserInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Jan Góralski <[email protected]> |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Mink\Exception\ElementNotFoundException; |
15 | 15 | use Sylius\Behat\Page\PageInterface; |
16 | -use Sylius\Component\Product\Model\ProductOptionInterface; |
|
17 | 16 | use Sylius\Component\Product\Model\ProductInterface; |
17 | +use Sylius\Component\Product\Model\ProductOptionInterface; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Łukasz Chruściel <[email protected]> |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Service; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\AdminUserInterface; |
15 | -use Sylius\Component\Core\Model\ShopUserInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Arkadiusz Krakowiak <[email protected]> |