@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Sylius\Component\Payment\Model\PaymentInterface as BasePaymentInterface; |
| 19 | 19 | use Sylius\Component\Promotion\Model\CouponInterface as BaseCouponInterface; |
| 20 | 20 | use Sylius\Component\Promotion\Model\PromotionInterface as BasePromotionInterface; |
| 21 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
| 22 | 21 | use Sylius\Component\User\Model\CustomerInterface as BaseCustomerInterface; |
| 23 | 22 | |
| 24 | 23 | /** |
@@ -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; |
@@ -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 Symfony\Component\DependencyInjection\ContainerInterface; |
| 26 | 25 | |
| 27 | 26 | /** |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use SM\Factory\FactoryInterface; |
| 15 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
| 16 | -use Sylius\Component\Core\OrderCheckoutTransitions; |
|
| 17 | 16 | use Sylius\Component\Order\Context\CartContextInterface; |
| 18 | 17 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
| 19 | 18 | use Symfony\Component\HttpFoundation\RedirectResponse; |
@@ -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; |
@@ -18,7 +18,6 @@ |
||
| 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 | 23 | |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Behat\Gherkin\Node\TableNode; |
| 16 | 16 | use Behat\Mink\Element\NodeElement; |
| 17 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
| 18 | -use org\bovigo\vfs\vfsStreamException; |
|
| 19 | 18 | use Sylius\Behat\Service\SharedStorageInterface; |
| 20 | 19 | use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
| 21 | 20 | use Sylius\Component\Core\Formatter\StringInflector; |