@@ -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,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Behat\Context\Ui\Shop; |
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | -use Sylius\Behat\Page\Shop\Product\ShowPageInterface; |
|
16 | 15 | use Sylius\Behat\Page\Shop\ProductReview\IndexPageInterface; |
16 | +use Sylius\Behat\Page\Shop\Product\ShowPageInterface; |
|
17 | 17 | use Sylius\Behat\Page\Shop\Taxon\ShowPageInterface as TaxonShowPageInterface; |
18 | 18 | use Sylius\Component\Core\Model\ProductInterface; |
19 | 19 | use Sylius\Component\Core\Model\TaxonInterface; |
@@ -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 | /** |
@@ -11,13 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\MailerBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\MailerBundle\Form\Type\EmailType; |
|
15 | -use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
|
16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
17 | -use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
18 | -use Sylius\Component\Mailer\Model\Email; |
|
19 | -use Sylius\Component\Mailer\Model\EmailInterface; |
|
20 | -use Sylius\Component\Resource\Factory\Factory; |
|
21 | 14 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
22 | 15 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
23 | 16 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -11,9 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Component\Mailer\Model; |
13 | 13 | |
14 | -use Sylius\Component\Resource\Model\TimestampableTrait; |
|
15 | -use Sylius\Component\Resource\Model\ToggleableTrait; |
|
16 | - |
|
17 | 14 | /** |
18 | 15 | * @author Paweł Jędrzejewski <[email protected]> |
19 | 16 | */ |
@@ -11,11 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Component\Mailer\Model; |
13 | 13 | |
14 | -use Sylius\Component\Resource\Model\CodeAwareInterface; |
|
15 | -use Sylius\Component\Resource\Model\ResourceInterface; |
|
16 | -use Sylius\Component\Resource\Model\TimestampableInterface; |
|
17 | -use Sylius\Component\Resource\Model\ToggleableInterface; |
|
18 | - |
|
19 | 14 | /** |
20 | 15 | * @author Paweł Jędrzejewski <[email protected]> |
21 | 16 | */ |
@@ -15,17 +15,17 @@ |
||
15 | 15 | use Sylius\Behat\NotificationType; |
16 | 16 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
17 | 17 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
18 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
18 | 19 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
19 | 20 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
20 | 21 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
21 | 22 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
22 | 23 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
23 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
24 | 24 | use Sylius\Behat\Service\NotificationCheckerInterface; |
25 | 25 | use Sylius\Behat\Service\Resolver\CurrentProductPageResolverInterface; |
26 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
26 | 27 | use Sylius\Component\Core\Model\ChannelInterface; |
27 | 28 | use Sylius\Component\Core\Model\ProductInterface; |
28 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
29 | 29 | use Sylius\Component\Currency\Model\CurrencyInterface; |
30 | 30 | use Sylius\Component\Product\Model\ProductAssociationTypeInterface; |
31 | 31 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |