@@ -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; |
@@ -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\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. |
@@ -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. |
@@ -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; |