@@ -12,8 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Context\Ui\Shop; |
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | -use Behat\Mink\Exception\ElementNotFoundException; |
|
16 | -use Behat\Mink\Exception\Exception; |
|
17 | 15 | use Sylius\Behat\NotificationType; |
18 | 16 | use Sylius\Behat\Page\PageInterface; |
19 | 17 | use Sylius\Behat\Page\Shop\Account\ChangePasswordPageInterface; |
@@ -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; |
@@ -12,18 +12,14 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Command; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\AdminUserInterface; |
15 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
16 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
17 | 15 | use Sylius\Component\Locale\Model\LocaleInterface; |
18 | -use Sylius\Component\User\Model\UserInterface; |
|
19 | 16 | use Symfony\Component\Console\Helper\QuestionHelper; |
20 | 17 | use Symfony\Component\Console\Input\InputInterface; |
21 | 18 | use Symfony\Component\Console\Output\OutputInterface; |
22 | 19 | use Symfony\Component\Console\Question\Question; |
23 | -use Symfony\Component\Intl\Intl; |
|
20 | +use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
24 | 21 | use Symfony\Component\Validator\Constraints\Email; |
25 | 22 | use Symfony\Component\Validator\Constraints\NotBlank; |
26 | -use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
27 | 23 | use Webmozart\Assert\Assert; |
28 | 24 | |
29 | 25 | /** |
@@ -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]> |
@@ -11,9 +11,9 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\ReviewBundle\EventListener; |
13 | 13 | |
14 | +use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
14 | 15 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
15 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
16 | -use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
17 | 17 | use Symfony\Component\EventDispatcher\GenericEvent; |
18 | 18 | |
19 | 19 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Fixture; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture; |
15 | -use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
|
16 | 15 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
17 | 16 | use Symfony\Component\OptionsResolver\OptionsResolver; |
18 | 17 |
@@ -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; |