@@ -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 | /** |
@@ -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; |
@@ -16,8 +16,6 @@ |
||
16 | 16 | use Sylius\Component\Core\Model\CustomerInterface; |
17 | 17 | use Sylius\Component\Core\Model\OrderInterface; |
18 | 18 | use Sylius\Component\Core\Model\UserInterface; |
19 | -use Sylius\Component\Core\OrderCheckoutStates; |
|
20 | -use Sylius\Component\Core\OrderCheckoutTransitions; |
|
21 | 19 | use Sylius\Component\Core\SyliusCheckoutEvents; |
22 | 20 | use Sylius\Component\Resource\Event\ResourceEvent; |
23 | 21 | use Sylius\Component\Resource\Model\ResourceInterface; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | 15 | use Sylius\Bundle\CoreBundle\DataFixtures\DataFixture; |
16 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * Default currency fixtures. |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\CoreBundle\Sitemap\Factory\SitemapUrlFactoryInterface; |
15 | 15 | use Sylius\Bundle\CoreBundle\Sitemap\Model\ChangeFrequency; |
16 | -use Sylius\Bundle\CoreBundle\Sitemap\Model\SitemapUrlInterface; |
|
17 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
18 | 17 | use Symfony\Component\Routing\RouterInterface; |
19 | 18 |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Prophecy\Argument; |
16 | 16 | use Sylius\Bundle\FlowBundle\Process\Builder\ProcessBuilderInterface; |
17 | 17 | use Sylius\Bundle\FlowBundle\Process\Scenario\ProcessScenarioInterface; |
18 | -use Sylius\Component\Cart\Model\CartInterface; |
|
19 | 18 | use Sylius\Component\Cart\Provider\CartProviderInterface; |
20 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
21 | 20 | use Sylius\Component\Core\Model\PaymentInterface; |
@@ -14,10 +14,7 @@ |
||
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Prophecy\Argument; |
16 | 16 | use Sylius\Bundle\CoreBundle\EventListener\OrderPromotionListener; |
17 | -use Sylius\Component\Core\Model\OrderInterface; |
|
18 | -use Sylius\Component\Promotion\Processor\PromotionProcessorInterface; |
|
19 | 17 | use Sylius\Component\Promotion\SyliusPromotionEvents; |
20 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
21 | 18 | use Symfony\Component\EventDispatcher\GenericEvent; |
22 | 19 | use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface; |
23 | 20 | use Symfony\Component\HttpFoundation\Session\SessionInterface; |
@@ -11,13 +11,11 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\GridBundle\Doctrine\PHPCRODM; |
13 | 13 | |
14 | -use Pagerfanta\Adapter\DoctrineORMAdapter; |
|
14 | +use Doctrine\ODM\PHPCR\Query\Builder\QueryBuilder; |
|
15 | +use Pagerfanta\Adapter\DoctrineODMPhpcrAdapter; |
|
15 | 16 | use Pagerfanta\Pagerfanta; |
16 | 17 | use Sylius\Component\Grid\Data\DataSourceInterface; |
17 | -use Sylius\Component\Grid\Data\ExpressionBuilderInterface; |
|
18 | 18 | use Sylius\Component\Grid\Parameters; |
19 | -use Doctrine\ODM\PHPCR\Query\Builder\QueryBuilder; |
|
20 | -use Pagerfanta\Adapter\DoctrineODMPhpcrAdapter; |
|
21 | 19 | |
22 | 20 | class DataSource implements DataSourceInterface |
23 | 21 | { |