@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sylius\Component\Resource\Metadata\MetadataInterface; |
18 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
19 | 19 | use Symfony\Component\DependencyInjection\Definition; |
20 | -use Symfony\Component\DependencyInjection\Parameter; |
|
21 | 20 | use Symfony\Component\DependencyInjection\Reference; |
22 | 21 | |
23 | 22 | /** |
@@ -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; |
@@ -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]> |
@@ -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,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; |
@@ -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; |
@@ -27,7 +27,6 @@ |
||
27 | 27 | use Sylius\Component\Core\OrderCheckoutTransitions; |
28 | 28 | use Sylius\Component\Core\OrderPaymentTransitions; |
29 | 29 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
30 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
31 | 30 | use Sylius\Component\Customer\Model\CustomerInterface; |
32 | 31 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
33 | 32 | use Sylius\Component\Order\OrderTransitions; |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Core\Model\AddressInterface; |
19 | 19 | use Sylius\Component\Core\Model\ProductInterface; |
20 | 20 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
21 | -use Sylius\Component\Payment\Model\PaymentMethodInterface; |
|
22 | 21 | use Symfony\Component\Intl\Intl; |
23 | 22 | use Symfony\Component\Routing\RouterInterface; |
24 | 23 |