@@ -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; |
@@ -12,9 +12,9 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Review\Model; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
15 | 16 | use Sylius\Component\Review\Model\ReviewableInterface; |
16 | 17 | use Sylius\Component\Review\Model\ReviewerInterface; |
17 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use Sylius\Component\Order\Model\OrderItemInterface; |
23 | 23 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
24 | 24 | use Sylius\Component\Order\Modifier\OrderModifierInterface; |
25 | -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
26 | 25 | use Symfony\Component\Form\FormFactoryInterface; |
27 | 26 | use Symfony\Component\HttpFoundation\RedirectResponse; |
28 | 27 | use Symfony\Component\HttpFoundation\Request; |
@@ -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 |
@@ -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; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use Sylius\Component\Promotion\Action\PromotionActionInterface; |
25 | 25 | use Sylius\Component\Promotion\Model\PromotionInterface; |
26 | 26 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
27 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
28 | 27 | |
29 | 28 | /** |
30 | 29 | * @mixin PercentageDiscountAction |
@@ -23,7 +23,6 @@ |
||
23 | 23 | use Sylius\Component\Order\Modifier\OrderModifierInterface; |
24 | 24 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
25 | 25 | use Symfony\Component\Form\FormFactoryInterface; |
26 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
27 | 26 | use Symfony\Component\HttpFoundation\RedirectResponse; |
28 | 27 | use Symfony\Component\HttpFoundation\Request; |
29 | 28 | use Symfony\Component\HttpFoundation\Response; |