@@ -15,8 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | -use Symfony\Component\DependencyInjection\Parameter; |
|
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\LocaleBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\LocaleBundle\Form\Type\LocaleChoiceType; |
|
15 | 14 | use Sylius\Bundle\LocaleBundle\Form\Type\LocaleType; |
16 | 15 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
17 | 16 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | 18 | use Symfony\Component\DependencyInjection\Parameter; |
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -15,6 +15,7 @@ discard block |
||
15 | 15 | use Behat\Gherkin\Node\TableNode; |
16 | 16 | use Behat\Mink\Element\NodeElement; |
17 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
18 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
18 | 19 | use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
19 | 20 | use Sylius\Component\Core\Formatter\StringInflector; |
20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
@@ -24,7 +25,6 @@ discard block |
||
24 | 25 | use Sylius\Component\Core\Model\ProductVariantInterface; |
25 | 26 | use Sylius\Component\Core\Pricing\Calculators; |
26 | 27 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
27 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
28 | 28 | use Sylius\Component\Core\Uploader\ImageUploaderInterface; |
29 | 29 | use Sylius\Component\Product\Factory\ProductFactoryInterface; |
30 | 30 | use Sylius\Component\Product\Generator\SlugGeneratorInterface; |
@@ -32,11 +32,11 @@ discard block |
||
32 | 32 | use Sylius\Component\Product\Model\ProductAttributeValueInterface; |
33 | 33 | use Sylius\Component\Product\Model\ProductOptionInterface; |
34 | 34 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
35 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
35 | 36 | use Sylius\Component\Resource\Factory\FactoryInterface; |
36 | -use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
|
37 | 37 | use Sylius\Component\Resource\Model\TranslationInterface; |
38 | +use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
|
38 | 39 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
39 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
40 | 40 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
41 | 41 | |
42 | 42 | /** |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
15 | 15 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
16 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
17 | 16 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
17 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
18 | 18 | use Symfony\Component\Form\FormBuilderInterface; |
19 | 19 | use Symfony\Component\OptionsResolver\OptionsResolver; |
20 | 20 | use Symfony\Component\Validator\Constraints\Valid; |
@@ -12,9 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\TaxonomyBundle\DependencyInjection; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
15 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceToHiddenIdentifierType; |
|
17 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceToIdentifierType; |
|
18 | 15 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
19 | 16 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonTranslationType; |
20 | 17 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonType; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
15 | 15 | use Sylius\Bundle\UserBundle\Controller\UserController; |
16 | -use Sylius\Bundle\UserBundle\Form\Type\UserType; |
|
17 | 16 | use Sylius\Component\Resource\Factory\Factory; |
18 | 17 | use Sylius\Component\User\Model\User; |
19 | 18 | use Sylius\Component\User\Model\UserInterface; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\UserBundle\Form\Type; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
15 | -use Sylius\Component\Resource\Metadata\MetadataInterface; |
|
16 | 15 | use Symfony\Component\Form\Extension\Core\Type\CheckboxType; |
17 | 16 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
18 | 17 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; |
@@ -12,17 +12,14 @@ |
||
12 | 12 | namespace Sylius\Bundle\CustomerBundle\DependencyInjection; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType; |
15 | +use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
15 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
17 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
18 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
19 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType; |
|
20 | -use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
|
21 | -use Sylius\Component\Customer\Model\CustomerGroup; |
|
22 | -use Sylius\Component\Resource\Factory\Factory; |
|
23 | 18 | use Sylius\Component\Customer\Model\Customer; |
24 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
19 | +use Sylius\Component\Customer\Model\CustomerGroup; |
|
25 | 20 | use Sylius\Component\Customer\Model\CustomerGroupInterface; |
21 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
22 | +use Sylius\Component\Resource\Factory\Factory; |
|
26 | 23 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
27 | 24 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
28 | 25 | use Symfony\Component\Config\Definition\ConfigurationInterface; |