@@ -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,18 +11,10 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Bundle\CoreBundle\EventListener; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
15 | 14 | use PhpSpec\ObjectBehavior; |
16 | -use Prophecy\Argument; |
|
17 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
18 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
19 | -use Sylius\Component\Core\Model\OrderItemInterface; |
|
20 | 16 | use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface; |
21 | -use Sylius\Component\Core\OrderProcessing\OrderShipmentProcessorInterface; |
|
22 | -use Sylius\Component\Pricing\Calculator\DelegatingCalculatorInterface; |
|
23 | -use Sylius\Component\Pricing\Model\PriceableInterface; |
|
24 | 17 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
25 | -use Sylius\Component\User\Model\GroupableInterface; |
|
26 | 18 | use Symfony\Component\EventDispatcher\GenericEvent; |
27 | 19 | |
28 | 20 | /** |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\CoreBundle\EventListener; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Component\Cart\Model\CartInterface; |
17 | 16 | use Sylius\Component\Cart\Provider\CartProviderInterface; |
18 | 17 | use Sylius\Component\Core\Model\OrderInterface; |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Persistence\ObjectManager; |
6 | 6 | use PhpSpec\ObjectBehavior; |
7 | -use Prophecy\Argument; |
|
8 | 7 | use Sylius\Bundle\AddressingBundle\Factory\ZoneFactoryInterface; |
9 | 8 | use Sylius\Bundle\CoreBundle\Fixture\GeographicalFixture; |
10 | 9 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | 17 | use Sylius\Component\Core\Model\TaxonInterface; |
19 | 18 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
20 | 19 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |