@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Component\Product\Model; |
13 | 13 | |
14 | 14 | use Sylius\Component\Variation\Model\Variant as BaseVariant; |
15 | -use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,10 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Product\Model; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
15 | 14 | use Doctrine\Common\Collections\Collection; |
16 | 15 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | 16 | use Sylius\Component\Association\Model\AssociableInterface; |
19 | 17 | use Sylius\Component\Product\Model\ArchetypeInterface; |
20 | 18 | use Sylius\Component\Product\Model\AttributeValueInterface; |
@@ -12,19 +12,11 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Promotion\Checker; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Component\Promotion\Checker\PromotionEligibilityChecker; |
17 | 16 | use Sylius\Component\Promotion\Checker\PromotionEligibilityCheckerInterface; |
18 | 17 | use Sylius\Component\Promotion\Checker\PromotionSubjectEligibilityCheckerInterface; |
19 | -use Sylius\Component\Promotion\Checker\RuleCheckerInterface; |
|
20 | -use Sylius\Component\Promotion\Model\CouponInterface; |
|
21 | -use Sylius\Component\Promotion\Model\PromotionCouponAwareSubjectInterface; |
|
22 | 18 | use Sylius\Component\Promotion\Model\PromotionInterface; |
23 | 19 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
24 | -use Sylius\Component\Promotion\Model\RuleInterface; |
|
25 | -use Sylius\Component\Promotion\SyliusPromotionEvents; |
|
26 | -use Sylius\Component\Registry\ServiceRegistryInterface; |
|
27 | -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
28 | 20 | |
29 | 21 | /** |
30 | 22 | * @mixin PromotionEligibilityChecker |
@@ -14,12 +14,11 @@ |
||
14 | 14 | require_once __DIR__.'/Fixture/SampleServiceInterface.php'; |
15 | 15 | |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | -use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
19 | 17 | use Sylius\Component\Registry\NonExistingServiceException; |
20 | 18 | use Sylius\Component\Registry\PrioritizedServiceRegistry; |
21 | 19 | use Sylius\Component\Registry\PrioritizedServiceRegistryInterface; |
22 | 20 | use Zend\Stdlib\PriorityQueue; |
21 | +use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
23 | 22 | |
24 | 23 | /** |
25 | 24 | * @mixin PrioritizedServiceRegistry |
@@ -14,10 +14,10 @@ |
||
14 | 14 | require_once __DIR__.'/Fixture/SampleServiceInterface.php'; |
15 | 15 | |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
18 | 17 | use Sylius\Component\Registry\ExistingServiceException; |
19 | 18 | use Sylius\Component\Registry\NonExistingServiceException; |
20 | 19 | use Sylius\Component\Registry\ServiceRegistryInterface; |
20 | +use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Resource\Factory; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use spec\Sylius\Component\Resource\Fixtures\SampleResource; |
|
16 | 15 | use Sylius\Component\Resource\Factory\FactoryInterface; |
16 | +use spec\Sylius\Component\Resource\Fixtures\SampleResource; |
|
17 | 17 | |
18 | 18 | require_once __DIR__.'/../Fixtures/SampleResource.php'; |
19 | 19 |
@@ -12,12 +12,12 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Resource\Factory; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use spec\Sylius\Component\Resource\Fixtures\SampleNonTranslatableResource; |
|
16 | -use spec\Sylius\Component\Resource\Fixtures\SampleTranslatableResource; |
|
17 | 15 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
18 | 16 | use Sylius\Component\Resource\Factory\FactoryInterface; |
19 | 17 | use Sylius\Component\Resource\Factory\TranslatableFactoryInterface; |
20 | 18 | use Sylius\Component\Resource\Provider\LocaleProviderInterface; |
19 | +use spec\Sylius\Component\Resource\Fixtures\SampleNonTranslatableResource; |
|
20 | +use spec\Sylius\Component\Resource\Fixtures\SampleTranslatableResource; |
|
21 | 21 | |
22 | 22 | require_once __DIR__.'/../Fixtures/SampleTranslatableResource.php'; |
23 | 23 | require_once __DIR__.'/../Fixtures/SampleNonTranslatableResource.php'; |
@@ -13,13 +13,13 @@ |
||
13 | 13 | |
14 | 14 | use Pagerfanta\Pagerfanta; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | -use spec\Sylius\Component\Resource\Fixtures\SampleResourceInterface; |
|
17 | 16 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
18 | 17 | use Sylius\Component\Resource\Exception\UnsupportedMethodException; |
19 | 18 | use Sylius\Component\Resource\Model\ResourceInterface; |
20 | 19 | use Sylius\Component\Resource\Repository\Exception\ExistingResourceException; |
21 | 20 | use Sylius\Component\Resource\Repository\InMemoryRepository; |
22 | 21 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
22 | +use spec\Sylius\Component\Resource\Fixtures\SampleResourceInterface; |
|
23 | 23 | |
24 | 24 | require_once __DIR__.'/../Fixtures/SampleResourceInterface.php'; |
25 | 25 |
@@ -14,8 +14,8 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | 16 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
17 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
18 | 17 | use Sylius\Component\Review\Model\ReviewInterface; |
18 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @author Mateusz Zalewski <[email protected]> |