@@ -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; |
@@ -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; |
@@ -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; |
@@ -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]> |
@@ -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]> |
@@ -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; |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | 15 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
| 18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 19 | 19 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -13,9 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | 15 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
| 18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 19 | 19 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -14,30 +14,29 @@ |
||
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | 15 | use Doctrine\Common\Persistence\ObjectManager; |
| 16 | 16 | use SM\Factory\FactoryInterface as StateMachineFactoryInterface; |
| 17 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
| 17 | 18 | use Sylius\Component\Core\Currency\CurrencyStorageInterface; |
| 18 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
| 19 | -use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
| 20 | -use Sylius\Component\Core\OrderCheckoutTransitions; |
|
| 21 | -use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
| 22 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
| 23 | 19 | use Sylius\Component\Core\Model\AddressInterface; |
| 20 | +use Sylius\Component\Core\Model\ChannelInterface; |
|
| 24 | 21 | use Sylius\Component\Core\Model\OrderInterface; |
| 25 | 22 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 26 | 23 | use Sylius\Component\Core\Model\ProductInterface; |
| 27 | 24 | use Sylius\Component\Core\Model\ProductVariantInterface; |
| 25 | +use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
| 28 | 26 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 27 | +use Sylius\Component\Core\OrderCheckoutTransitions; |
|
| 29 | 28 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 30 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
| 29 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 30 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
| 31 | 31 | use Sylius\Component\Order\OrderTransitions; |
| 32 | -use Sylius\Component\Payment\Model\PaymentInterface; |
|
| 32 | +use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
| 33 | 33 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
| 34 | 34 | use Sylius\Component\Payment\PaymentTransitions; |
| 35 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
| 35 | 36 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 36 | 37 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 37 | 38 | use Sylius\Component\Shipping\ShipmentTransitions; |
| 38 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 39 | 39 | use Sylius\Component\User\Model\UserInterface; |
| 40 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
| 41 | 40 | |
| 42 | 41 | /** |
| 43 | 42 | * @author Łukasz Chruściel <[email protected]> |