@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\CoreBundle\Fixture\Factory; |
| 13 | 13 | |
| 14 | -use Doctrine\Common\Persistence\ObjectManager; |
|
| 15 | 14 | use Sylius\Component\Core\Formatter\StringInflector; |
| 16 | 15 | use Sylius\Component\Core\Model\TaxonInterface; |
| 17 | 16 | use Sylius\Component\Locale\Model\LocaleInterface; |
@@ -14,9 +14,7 @@ |
||
| 14 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
| 15 | 15 | use Symfony\Component\Config\FileLocator; |
| 16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 17 | -use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
|
| 18 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
| 19 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 20 | 18 | |
| 21 | 19 | /** |
| 22 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Sylius\Component\Core\Model\AdjustmentInterface; |
| 15 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
| 16 | 16 | use Sylius\Component\Core\Model\OrderItemUnitInterface; |
| 17 | -use Sylius\Component\Promotion\Action\PromotionActionCommandInterface; |
|
| 18 | 17 | use Sylius\Component\Promotion\Model\PromotionInterface; |
| 19 | 18 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
| 20 | 19 | use Webmozart\Assert\Assert; |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
| 16 | 16 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 17 | 17 | use Sylius\Component\Core\Model\OrderItemUnitInterface; |
| 18 | -use Sylius\Component\Promotion\Action\PromotionActionCommandInterface; |
|
| 19 | 18 | use Sylius\Component\Promotion\Model\PromotionInterface; |
| 20 | 19 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
| 21 | 20 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Customer\Context\CustomerContextInterface; |
| 18 | 18 | use Sylius\Component\Order\Context\CartContextInterface; |
| 19 | 19 | use Sylius\Component\Order\Context\CartNotFoundException; |
| 20 | -use Sylius\Component\Order\Model\OrderInterface; |
|
| 21 | 20 | |
| 22 | 21 | /** |
| 23 | 22 | * @author Mateusz Zalewski <[email protected]> |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\CoreBundle\Form\Extension; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\CoreBundle\Form\EventSubscriber\BuildChannelBasedPromotionRuleFormSubscriber; |
| 15 | -use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType; |
|
| 16 | 15 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleChoiceType; |
| 17 | 16 | use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleType; |
| 18 | 17 | use Sylius\Component\Channel\Repository\ChannelRepositoryInterface; |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\PromotionBundle\Form\Type; |
| 13 | 13 | |
| 14 | -use Sylius\Bundle\PromotionBundle\Form\EventListener\BuildPromotionRuleFormSubscriber; |
|
| 15 | -use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType; |
|
| 16 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
| 17 | 15 | use Sylius\Component\Promotion\Checker\Rule\ItemTotalRuleChecker; |
| 18 | 16 | use Sylius\Component\Registry\ServiceRegistryInterface; |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB; |
| 13 | 13 | |
| 14 | 14 | use Doctrine\MongoDB\Query\Builder as QueryBuilder; |
| 15 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
| 16 | 15 | use Sylius\Component\Resource\Repository\TranslatableRepositoryInterface; |
| 16 | +use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * Doctrine ORM driver translatable entity repository. |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use Sylius\Component\Resource\Metadata\RegistryInterface; |
| 22 | 22 | use Sylius\Component\Resource\Model\TranslatableInterface; |
| 23 | 23 | use Sylius\Component\Resource\Model\TranslationInterface; |
| 24 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
| 25 | 24 | use Sylius\Component\Resource\Translation\TranslatableEntityLocaleAssignerInterface; |
| 26 | 25 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 27 | 26 | |