@@ -20,7 +20,6 @@ |
||
20 | 20 | use Sylius\Component\Promotion\Model\PromotionInterface; |
21 | 21 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
22 | 22 | use Sylius\Component\Resource\Factory\FactoryInterface; |
23 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
24 | 23 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
25 | 24 | |
26 | 25 | /** |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use Sylius\Component\Promotion\Model\PromotionInterface; |
21 | 21 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
22 | 22 | use Sylius\Component\Resource\Factory\FactoryInterface; |
23 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
24 | 23 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
25 | 24 | |
26 | 25 | /** |
@@ -13,10 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | -use Prophecy\Argument; |
|
17 | 16 | use Sylius\Component\Payment\Model\PaymentMethod; |
18 | 17 | use Sylius\Component\Payment\Repository\PaymentMethodRepositoryInterface; |
19 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * @author Łukasz Chruściel <[email protected]> |
@@ -20,7 +20,6 @@ |
||
20 | 20 | use Sylius\Component\Promotion\Model\PromotionInterface; |
21 | 21 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
22 | 22 | use Sylius\Component\Resource\Factory\FactoryInterface; |
23 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
24 | 23 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
25 | 24 | |
26 | 25 | /** |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Sylius\Behat\Page; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | use SensioLabs\Behat\PageObjectExtension\PageObject\PageObject; |
8 | 7 | use Sylius\Behat\Page\Page; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace spec\Sylius\Behat\Page; |
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | -use Prophecy\Argument; |
|
7 | 6 | use SensioLabs\Behat\PageObjectExtension\PageObject\PageObject; |
8 | 7 | use Sylius\Behat\Page\Page; |
9 | 8 |
@@ -16,8 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonTranslationType; |
17 | 17 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonType; |
18 | 18 | use Sylius\Component\Resource\Factory\Factory; |
19 | -use Sylius\Component\Taxonomy\Factory\TaxonFactory; |
|
20 | -use Sylius\Component\Taxonomy\Factory\TaxonomyFactory; |
|
21 | 19 | use Sylius\Component\Resource\Factory\TranslatableFactory; |
22 | 20 | use Sylius\Component\Taxonomy\Model\Taxon; |
23 | 21 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use Doctrine\Common\Persistence\ObjectManager; |
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | -use Sylius\Component\Core\Model\PromotionInterface; |
|
19 | 18 | use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface; |
20 | 19 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
21 | 20 | use Sylius\Component\Core\Model\AddressInterface; |
@@ -12,13 +12,11 @@ |
||
12 | 12 | namespace spec\Sylius\Behat\Context\Setup; |
13 | 13 | |
14 | 14 | use Behat\Behat\Context\Context; |
15 | -use Doctrine\Common\Persistence\ObjectManager; |
|
16 | 15 | use PhpSpec\ObjectBehavior; |
17 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
18 | 17 | use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
19 | 18 | use Sylius\Component\Resource\Factory\FactoryInterface; |
20 | 19 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
21 | -use Sylius\Component\Review\Model\ReviewerInterface; |
|
22 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
23 | 21 | |
24 | 22 | /** |