@@ -11,9 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Payment\Exception; |
13 | 13 | |
14 | -use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException; |
|
15 | 14 | use PhpSpec\ObjectBehavior; |
16 | -use Prophecy\Argument; |
|
15 | +use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @author Anna Walasek <[email protected]> |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
19 | 19 | use Sylius\Component\Core\Test\Services\SharedStorageInterface; |
20 | 20 | use Sylius\Component\Resource\Factory\FactoryInterface; |
21 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
22 | 21 | use Sylius\Component\Shipping\Calculator\DefaultCalculators; |
23 | 22 | use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface; |
24 | 23 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Payment\Resolver; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Component\Payment\Model\PaymentInterface; |
17 | 16 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
18 | 17 | use Sylius\Component\Payment\Resolver\MethodsResolverInterface; |
@@ -15,8 +15,8 @@ |
||
15 | 15 | use Sylius\Component\Product\Factory\ProductFactory; |
16 | 16 | use Sylius\Component\Product\Factory\ProductFactoryInterface; |
17 | 17 | use Sylius\Component\Product\Model\ProductInterface; |
18 | -use Sylius\Component\Resource\Factory\FactoryInterface; |
|
19 | 18 | use Sylius\Component\Product\Model\ProductVariantInterface; |
19 | +use Sylius\Component\Resource\Factory\FactoryInterface; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Sylius\Component\Promotion\Checker\Eligibility\PromotionRulesEligibilityChecker; |
17 | 17 | use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface; |
18 | 18 | use Sylius\Component\Promotion\Model\PromotionInterface; |
19 | -use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
|
20 | 19 | use Sylius\Component\Promotion\Model\PromotionRuleInterface; |
20 | +use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
|
21 | 21 | use Sylius\Component\Registry\ServiceRegistryInterface; |
22 | 22 | |
23 | 23 | /** |
@@ -13,10 +13,10 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Promotion\Checker\Eligibility\PromotionCouponEligibilityCheckerInterface; |
16 | -use Sylius\Component\Promotion\Checker\Eligibility\PromotionSubjectCouponEligibilityChecker; |
|
17 | 16 | use Sylius\Component\Promotion\Checker\Eligibility\PromotionEligibilityCheckerInterface; |
18 | -use Sylius\Component\Promotion\Model\PromotionCouponInterface; |
|
17 | +use Sylius\Component\Promotion\Checker\Eligibility\PromotionSubjectCouponEligibilityChecker; |
|
19 | 18 | use Sylius\Component\Promotion\Model\PromotionCouponAwarePromotionSubjectInterface; |
19 | +use Sylius\Component\Promotion\Model\PromotionCouponInterface; |
|
20 | 20 | use Sylius\Component\Promotion\Model\PromotionInterface; |
21 | 21 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
22 | 22 |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Promotion\Generator\GenerationPolicyInterface; |
16 | -use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInstructionInterface; |
|
17 | 16 | use Sylius\Component\Promotion\Generator\PercentageGenerationPolicy; |
17 | +use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInstructionInterface; |
|
18 | 18 | use Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface; |
19 | 19 | |
20 | 20 | /** |
@@ -15,10 +15,10 @@ |
||
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | 16 | use Prophecy\Argument; |
17 | 17 | use Sylius\Component\Promotion\Exception\FailedGenerationException; |
18 | -use Sylius\Component\Promotion\Generator\PromotionCouponGenerator; |
|
19 | -use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface; |
|
20 | 18 | use Sylius\Component\Promotion\Generator\GenerationPolicyInterface; |
19 | +use Sylius\Component\Promotion\Generator\PromotionCouponGenerator; |
|
21 | 20 | use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInstructionInterface; |
21 | +use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface; |
|
22 | 22 | use Sylius\Component\Promotion\Model\PromotionCouponInterface; |
23 | 23 | use Sylius\Component\Promotion\Model\PromotionInterface; |
24 | 24 | use Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface; |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\Collection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | +use Sylius\Component\Promotion\Model\Promotion; |
|
16 | 17 | use Sylius\Component\Promotion\Model\PromotionActionInterface; |
17 | 18 | use Sylius\Component\Promotion\Model\PromotionCouponInterface; |
18 | -use Sylius\Component\Promotion\Model\Promotion; |
|
19 | 19 | use Sylius\Component\Promotion\Model\PromotionInterface; |
20 | 20 | use Sylius\Component\Promotion\Model\PromotionRuleInterface; |
21 | 21 |