@@ -13,11 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Driver\DriverProvider; |
15 | 15 | use Sylius\Component\Resource\Metadata\Metadata; |
16 | -use Symfony\Component\Config\Definition\Processor; |
|
17 | 16 | use Symfony\Component\Config\FileLocator; |
18 | 17 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
19 | 18 | use Symfony\Component\DependencyInjection\Extension\Extension; |
20 | -use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
|
21 | 19 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
22 | 20 | |
23 | 21 | /** |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\PricingBundle\DependencyInjection; |
13 | 13 | |
14 | -use Symfony\Component\Config\Definition\Processor; |
|
15 | 14 | use Symfony\Component\Config\FileLocator; |
16 | 15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 16 | use Symfony\Component\DependencyInjection\Definition; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\PricingBundle\DependencyInjection; |
13 | 13 | |
14 | -use Symfony\Component\Config\Definition\Processor; |
|
15 | 14 | use Symfony\Component\Config\FileLocator; |
16 | 15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 16 | use Symfony\Component\DependencyInjection\Definition; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\ProductBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\CoreBundle\Form\Type\LegacyProductType; |
|
15 | 14 | use Sylius\Bundle\ProductBundle\Form\Type\ProductTranslationType; |
16 | 15 | use Sylius\Bundle\ProductBundle\Form\Type\ProductType; |
17 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\GridBundle\Doctrine\PHPCRODM; |
13 | 13 | |
14 | -use Sylius\Component\Grid\Data\ExpressionBuilderInterface; |
|
15 | 14 | use Doctrine\ODM\PHPCR\Query\Builder\QueryBuilder; |
16 | 15 | use Doctrine\Common\Collections\Expr\CompositeExpression; |
17 | 16 | use Doctrine\Common\Collections\Expr\Comparison; |
@@ -11,14 +11,10 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\Form\Builder; |
13 | 13 | |
14 | -use Doctrine\DBAL\Types\Type; |
|
15 | 14 | use Sylius\Bundle\ResourceBundle\Form\Builder\DefaultFormBuilderInterface; |
16 | 15 | use Sylius\Component\Resource\Metadata\MetadataInterface; |
17 | 16 | use Symfony\Component\Form\FormBuilderInterface; |
18 | 17 | use Doctrine\ODM\PHPCR\DocumentManagerInterface; |
19 | -use Doctrine\ODM\PHPCR\Mapping\ClassMetadata; |
|
20 | -use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\Form\Subscriber\DefaultPathSubscriber; |
|
21 | -use Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\Form\Subscriber\NameResolverSubscriber; |
|
22 | 18 | |
23 | 19 | /** |
24 | 20 | * @author Daniel Leech <[email protected]> |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener; |
4 | 4 | |
5 | -use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
|
6 | -use Symfony\Component\Form\FormEvents; |
|
7 | -use Symfony\Component\Form\FormEvent; |
|
8 | 5 | use Doctrine\ODM\PHPCR\DocumentManagerInterface; |
9 | 6 | use PHPCR\Util\NodeHelper; |
10 | 7 | use Sylius\Component\Resource\Metadata\Registry; |
@@ -30,7 +30,6 @@ |
||
30 | 30 | use Sylius\Component\Product\Model\OptionValueTranslationInterface; |
31 | 31 | use Sylius\Component\Product\Model\Variant; |
32 | 32 | use Sylius\Component\Product\Model\VariantInterface; |
33 | -use Sylius\Component\Resource\Factory; |
|
34 | 33 | use Symfony\Component\Config\FileLocator; |
35 | 34 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
36 | 35 | use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Mink\Exception\ElementNotFoundException; |
15 | 15 | use Sylius\Behat\Page\SymfonyPage; |
16 | -use Symfony\Component\Routing\RouterInterface; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @author Mateusz Zalewski <[email protected]> |