@@ -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; |
@@ -18,10 +18,8 @@ |
||
18 | 18 | use Sylius\Component\Resource\Model\TimestampableTrait; |
19 | 19 | use Sylius\Component\Resource\Model\ToggleableTrait; |
20 | 20 | use Sylius\Component\Resource\Model\TranslatableTrait; |
21 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
22 | 21 | use Sylius\Component\Variation\Model\OptionInterface as BaseOptionInterface; |
23 | 22 | use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
24 | -use Webmozart\Assert\Assert; |
|
25 | 23 | |
26 | 24 | /** |
27 | 25 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | -use Sylius\Component\Addressing\Model\ZoneInterface; |
|
17 | 16 | use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface; |
18 | 17 | use Sylius\Component\Product\Model\Product as BaseProduct; |
19 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
@@ -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]> |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | 15 | use Sylius\Bundle\FixturesBundle\DataFixtures\DataFixture; |
16 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * Default currency fixtures. |