@@ -12,9 +12,9 @@ |
||
| 12 | 12 | namespace spec\Sylius\Component\Review\Model; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
| 15 | 16 | use Sylius\Component\Review\Model\ReviewableInterface; |
| 16 | 17 | use Sylius\Component\Review\Model\ReviewerInterface; |
| 17 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -16,9 +16,9 @@ |
||
| 16 | 16 | use Sylius\Component\Customer\Model\CustomerAwareInterface; |
| 17 | 17 | use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
| 18 | 18 | use Sylius\Component\Payment\Model\PaymentsSubjectInterface; |
| 19 | -use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |
|
| 20 | 19 | use Sylius\Component\Promotion\Model\CountablePromotionSubjectInterface; |
| 21 | 20 | use Sylius\Component\Promotion\Model\PromotionCouponAwarePromotionSubjectInterface; |
| 21 | +use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface; |
|
| 22 | 22 | use Sylius\Component\User\Model\UserInterface; |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Sylius\Component\Core\OrderProcessing; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Component\Core\Model\OrderInterface; |
| 15 | -use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
|
| 16 | 15 | use Sylius\Component\Core\Model\PaymentInterface; |
| 16 | +use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
|
| 17 | 17 | use Sylius\Component\Order\Processor\OrderProcessorInterface; |
| 18 | 18 | use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException; |
| 19 | 19 | use Sylius\Component\Payment\Factory\PaymentFactoryInterface; |
@@ -14,9 +14,9 @@ |
||
| 14 | 14 | use Doctrine\ORM\QueryBuilder; |
| 15 | 15 | use Pagerfanta\PagerfantaInterface; |
| 16 | 16 | use Sylius\Component\Core\Model\ChannelInterface; |
| 17 | -use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
| 18 | 17 | use Sylius\Component\Core\Model\CustomerInterface; |
| 19 | 18 | use Sylius\Component\Core\Model\OrderInterface; |
| 19 | +use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
| 20 | 20 | use Sylius\Component\Order\Repository\OrderRepositoryInterface as BaseOrderRepositoryInterface; |
| 21 | 21 | |
| 22 | 22 | interface OrderRepositoryInterface extends BaseOrderRepositoryInterface |
@@ -19,10 +19,10 @@ |
||
| 19 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
| 20 | 20 | use Sylius\Component\Core\Model\ShipmentInterface; |
| 21 | 21 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 22 | +use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
| 22 | 23 | use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver; |
| 23 | 24 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
| 24 | 25 | use Sylius\Component\Shipping\Model\ShippingSubjectInterface; |
| 25 | -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
| 26 | 26 | use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
| 27 | 27 | |
| 28 | 28 | /** |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | |
| 14 | 14 | use SM\Factory\FactoryInterface; |
| 15 | 15 | use SM\StateMachine\StateMachineInterface; |
| 16 | -use Sylius\Component\Order\Model\OrderInterface; |
|
| 17 | -use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
| 18 | 16 | use Sylius\Component\Core\Model\ShipmentInterface; |
| 19 | 17 | use Sylius\Component\Core\OrderShippingStates; |
| 20 | 18 | use Sylius\Component\Core\OrderShippingTransitions; |
| 19 | +use Sylius\Component\Order\Model\OrderInterface; |
|
| 20 | +use Sylius\Component\Order\StateResolver\StateResolverInterface; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace spec\Sylius\Component\Core\Promotion\Filter; |
| 13 | 13 | |
| 14 | -use Doctrine\Common\Collections\Collection; |
|
| 15 | 14 | use PhpSpec\ObjectBehavior; |
| 16 | 15 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 17 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace spec\Sylius\Component\Shipping\Checker; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Sylius\Component\Registry\ServiceRegistryInterface; |
|
| 16 | 15 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityChecker; |
| 17 | 16 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
| 18 | 17 | use Sylius\Component\Shipping\Model\ShippableInterface; |
@@ -15,9 +15,9 @@ |
||
| 15 | 15 | use Sylius\Behat\Page\Admin\Channel\IndexPageInterface; |
| 16 | 16 | use Sylius\Behat\Page\Admin\Channel\UpdatePageInterface; |
| 17 | 17 | use Sylius\Behat\Page\Shop\HomePageInterface; |
| 18 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
| 18 | 19 | use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
| 19 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
| 20 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
| 21 | 21 | use Webmozart\Assert\Assert; |
| 22 | 22 | |
| 23 | 23 | /** |