@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Page\Shop\Cart; |
13 | 13 | |
14 | 14 | use Sylius\Behat\Page\PageInterface; |
15 | -use Sylius\Component\Product\Model\ProductInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Łukasz Chruściel <[email protected]> |
@@ -13,8 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Mink\Element\NodeElement; |
15 | 15 | use Behat\Mink\Session; |
16 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
17 | -use Symfony\Component\Routing\RequestContext; |
|
18 | 16 | use Symfony\Component\Routing\RouterInterface; |
19 | 17 | |
20 | 18 | /** |
@@ -12,9 +12,9 @@ |
||
12 | 12 | namespace spec\Sylius\Behat; |
13 | 13 | |
14 | 14 | use Mockery\MockInterface; |
15 | +use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
|
15 | 16 | use Payum\Core\Bridge\Guzzle\HttpClient; |
16 | 17 | use PhpSpec\ObjectBehavior; |
17 | -use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
|
18 | 18 | use Sylius\Behat\Service\Mocker\MockerInterface; |
19 | 19 | |
20 | 20 | /** |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Core\Model\UserInterface; |
19 | 19 | use Sylius\Component\User\Repository\UserRepositoryInterface; |
20 | 20 | use Symfony\Component\HttpFoundation\Session\SessionInterface; |
21 | -use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken; |
|
22 | 21 | |
23 | 22 | /** |
24 | 23 | * @author Arkadiusz Krakowiak <[email protected]> |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace spec\Sylius\Behat; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Behat\Service\Setter\ChannelContextSetter; |
17 | 16 | use Sylius\Behat\Service\Setter\ChannelContextSetterInterface; |
18 | 17 | use Sylius\Behat\Service\Setter\CookieSetterInterface; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Behat\Mink\Session; |
16 | 16 | use Behat\Symfony2Extension\Driver\KernelDriver; |
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | -use Prophecy\Argument; |
|
19 | 18 | use Sylius\Behat\Service\Setter\CookieSetter; |
20 | 19 | use Sylius\Behat\Service\Setter\CookieSetterInterface; |
21 | 20 |
@@ -22,8 +22,8 @@ |
||
22 | 22 | use Sylius\Bundle\AddressingBundle\Form\Type\ZoneType; |
23 | 23 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
24 | 24 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
25 | -use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
26 | 25 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
26 | +use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
27 | 27 | use Sylius\Component\Addressing\Model\Address; |
28 | 28 | use Sylius\Component\Addressing\Model\AddressInterface; |
29 | 29 | use Sylius\Component\Addressing\Model\Country; |
@@ -14,13 +14,13 @@ |
||
14 | 14 | use Doctrine\Common\Collections\Collection; |
15 | 15 | use Doctrine\Common\Persistence\ObjectManager; |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
18 | 17 | use Sylius\Component\Cart\Event\CartEvent; |
19 | 18 | use Sylius\Component\Cart\Event\CartItemEvent; |
20 | 19 | use Sylius\Component\Cart\Model\CartInterface; |
21 | 20 | use Sylius\Component\Cart\Model\CartItemInterface; |
22 | 21 | use Sylius\Component\Cart\Provider\CartProviderInterface; |
23 | 22 | use Sylius\Component\Order\Model\OrderItemInterface; |
23 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
24 | 24 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
25 | 25 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
26 | 26 |
@@ -12,10 +12,10 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\CartBundle\Templating\Helper; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
16 | 15 | use Sylius\Component\Cart\Model\CartInterface; |
17 | 16 | use Sylius\Component\Cart\Model\CartItemInterface; |
18 | 17 | use Sylius\Component\Cart\Provider\CartProviderInterface; |
18 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
19 | 19 | use Sylius\Component\Resource\Factory\FactoryInterface; |
20 | 20 | use Symfony\Component\Form\FormFactoryInterface; |
21 | 21 | use Symfony\Component\Form\FormInterface; |