@@ -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 | /** |
@@ -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]> |
@@ -19,10 +19,10 @@ |
||
19 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
20 | 20 | use Sylius\Component\Core\Model\ShipmentInterface; |
21 | 21 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
22 | +use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
22 | 23 | use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver; |
23 | 24 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
24 | 25 | use Sylius\Component\Shipping\Model\ShippingSubjectInterface; |
25 | -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
26 | 26 | use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
27 | 27 | |
28 | 28 | /** |
@@ -13,11 +13,11 @@ |
||
13 | 13 | |
14 | 14 | use SM\Factory\FactoryInterface; |
15 | 15 | use SM\StateMachine\StateMachineInterface; |
16 | -use Sylius\Component\Order\Model\OrderInterface; |
|
17 | -use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
18 | 16 | use Sylius\Component\Core\Model\ShipmentInterface; |
19 | 17 | use Sylius\Component\Core\OrderShippingStates; |
20 | 18 | use Sylius\Component\Core\OrderShippingTransitions; |
19 | +use Sylius\Component\Order\Model\OrderInterface; |
|
20 | +use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -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 | /** |
@@ -18,8 +18,6 @@ |
||
18 | 18 | use Sylius\Behat\Page\SymfonyPage; |
19 | 19 | use Sylius\Component\Core\Factory\AddressFactoryInterface; |
20 | 20 | use Sylius\Component\Core\Model\AddressInterface; |
21 | -use Sylius\Component\Locale\Context\LocaleContextInterface; |
|
22 | -use Symfony\Component\Intl\Intl; |
|
23 | 21 | use Symfony\Component\Routing\RouterInterface; |
24 | 22 | use Webmozart\Assert\Assert; |
25 | 23 |
@@ -12,12 +12,9 @@ |
||
12 | 12 | namespace Sylius\Bundle\PromotionBundle\DependencyInjection; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
15 | -use Sylius\Component\Resource\Factory\Factory; |
|
16 | 15 | use Symfony\Component\Config\FileLocator; |
17 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
18 | -use Symfony\Component\DependencyInjection\Definition; |
|
19 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
20 | -use Symfony\Component\DependencyInjection\Parameter; |
|
21 | 18 | use Symfony\Component\DependencyInjection\Reference; |
22 | 19 | |
23 | 20 | /** |
@@ -23,7 +23,6 @@ |
||
23 | 23 | use Sylius\Component\Core\Model\AdminUserInterface; |
24 | 24 | use Sylius\Component\Core\Model\CustomerInterface; |
25 | 25 | use Sylius\Component\Core\Model\OrderInterface; |
26 | -use Sylius\Component\Core\OrderPaymentStates; |
|
27 | 26 | use Webmozart\Assert\Assert; |
28 | 27 | |
29 | 28 | /** |
@@ -12,10 +12,10 @@ discard block |
||
12 | 12 | namespace Sylius\Behat\Context\Setup; |
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | -use Behat\Behat\Tester\Exception\PendingException; |
|
16 | 15 | use Behat\Gherkin\Node\TableNode; |
17 | 16 | use Behat\Mink\Element\NodeElement; |
18 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
18 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
19 | 19 | use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
20 | 20 | use Sylius\Component\Core\Formatter\StringInflector; |
21 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
@@ -25,7 +25,6 @@ discard block |
||
25 | 25 | use Sylius\Component\Core\Model\ProductVariantInterface; |
26 | 26 | use Sylius\Component\Core\Pricing\Calculators; |
27 | 27 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
28 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
29 | 28 | use Sylius\Component\Core\Uploader\ImageUploaderInterface; |
30 | 29 | use Sylius\Component\Product\Factory\ProductFactoryInterface; |
31 | 30 | use Sylius\Component\Product\Generator\SlugGeneratorInterface; |
@@ -33,9 +32,9 @@ discard block |
||
33 | 32 | use Sylius\Component\Product\Model\ProductAttributeValueInterface; |
34 | 33 | use Sylius\Component\Product\Model\ProductOptionInterface; |
35 | 34 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
35 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
36 | 36 | use Sylius\Component\Resource\Factory\FactoryInterface; |
37 | 37 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
38 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
39 | 38 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
40 | 39 | |
41 | 40 | /** |