@@ -15,9 +15,6 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Behat\Behat\Context\Context; |
| 17 | 17 | use Sylius\Behat\Service\SharedStorageInterface; |
| 18 | -use Sylius\Bundle\ApiBundle\Command\Cart\PickupCart; |
|
| 19 | -use Sylius\Component\Resource\Generator\RandomnessGeneratorInterface; |
|
| 20 | -use Symfony\Component\Messenger\MessageBusInterface; |
|
| 21 | 18 | |
| 22 | 19 | final class CartTokenContext implements Context |
| 23 | 20 | { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Core\Model\OrderInterface; |
| 18 | 18 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 19 | 19 | use Sylius\Component\Order\Modifier\OrderModifierInterface; |
| 20 | -use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
| 21 | 20 | use Sylius\Component\Order\Repository\OrderItemRepositoryInterface; |
| 22 | 21 | use Symfony\Component\Messenger\Handler\MessageHandlerInterface; |
| 23 | 22 | use Webmozart\Assert\Assert; |
@@ -16,10 +16,7 @@ discard block |
||
| 16 | 16 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
| 17 | 17 | use Sylius\Bundle\UserBundle\Form\UserVerifiedAtToBooleanTransformer; |
| 18 | 18 | use Sylius\Component\Core\Model\ShopUser; |
| 19 | -use Symfony\Component\Form\CallbackTransformer; |
|
| 20 | 19 | use Symfony\Component\Form\Extension\Core\Type\CheckboxType; |
| 21 | -use Symfony\Component\Form\Extension\Core\Type\DateTimeType; |
|
| 22 | -use Symfony\Component\Form\Extension\Core\Type\DateType; |
|
| 23 | 20 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
| 24 | 21 | use Symfony\Component\Form\Extension\Core\Type\PasswordType; |
| 25 | 22 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
@@ -28,7 +25,6 @@ discard block |
||
| 28 | 25 | use Symfony\Component\Form\FormEvents; |
| 29 | 26 | use Symfony\Component\Form\FormInterface; |
| 30 | 27 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 31 | -use Webmozart\Assert\Assert; |
|
| 32 | 28 | |
| 33 | 29 | abstract class UserType extends AbstractResourceType |
| 34 | 30 | { |
@@ -21,8 +21,8 @@ |
||
| 21 | 21 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 22 | 22 | use Sylius\Component\Core\Repository\PaymentMethodRepositoryInterface; |
| 23 | 23 | use Sylius\Component\Core\Repository\PaymentRepositoryInterface; |
| 24 | -use Symfony\Component\Messenger\Handler\MessageHandlerInterface; |
|
| 25 | 24 | use Sylius\Component\Payment\Model\PaymentInterface; |
| 25 | +use Symfony\Component\Messenger\Handler\MessageHandlerInterface; |
|
| 26 | 26 | use Webmozart\Assert\Assert; |
| 27 | 27 | |
| 28 | 28 | /** @experimental */ |
@@ -15,8 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\ORM\EntityManager; |
| 17 | 17 | use Doctrine\ORM\Mapping; |
| 18 | -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
|
| 19 | 18 | use SyliusLabs\AssociationHydrator\AssociationHydrator; |
| 19 | +use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
|
| 20 | 20 | |
| 21 | 21 | class AttributeRepository extends EntityRepository |
| 22 | 22 | { |
@@ -16,16 +16,16 @@ |
||
| 16 | 16 | use Doctrine\ORM\EntityManager; |
| 17 | 17 | use Doctrine\ORM\Mapping; |
| 18 | 18 | use Doctrine\ORM\QueryBuilder; |
| 19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 19 | 20 | use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository; |
| 20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
| 21 | 22 | use Sylius\Component\Core\Model\CustomerInterface; |
| 22 | 23 | use Sylius\Component\Core\Model\OrderInterface; |
| 23 | -use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
|
| 24 | 24 | use Sylius\Component\Core\Model\PromotionCouponInterface; |
| 25 | 25 | use Sylius\Component\Core\OrderCheckoutStates; |
| 26 | 26 | use Sylius\Component\Core\OrderPaymentStates; |
| 27 | 27 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 28 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 28 | +use Sylius\Component\Order\Model\OrderInterface as BaseOrderInterface; |
|
| 29 | 29 | |
| 30 | 30 | class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface |
| 31 | 31 | { |
@@ -15,8 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\ORM\EntityManager; |
| 17 | 17 | use Doctrine\ORM\Mapping; |
| 18 | -use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionRepository as BaseProductOptionRepository; |
|
| 19 | 18 | use SyliusLabs\AssociationHydrator\AssociationHydrator; |
| 19 | +use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductOptionRepository as BaseProductOptionRepository; |
|
| 20 | 20 | |
| 21 | 21 | class ProductOptionRepository extends BaseProductOptionRepository |
| 22 | 22 | { |
@@ -15,10 +15,10 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\ORM\EntityManager; |
| 17 | 17 | use Doctrine\ORM\Mapping; |
| 18 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 18 | 19 | use Sylius\Bundle\PromotionBundle\Doctrine\ORM\PromotionRepository as BasePromotionRepository; |
| 19 | 20 | use Sylius\Component\Channel\Model\ChannelInterface; |
| 20 | 21 | use Sylius\Component\Core\Repository\PromotionRepositoryInterface; |
| 21 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
| 22 | 22 | |
| 23 | 23 | class PromotionRepository extends BasePromotionRepository implements PromotionRepositoryInterface |
| 24 | 24 | { |
@@ -18,8 +18,8 @@ |
||
| 18 | 18 | use Sylius\Component\Core\Model\CustomerInterface; |
| 19 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
| 20 | 20 | use Sylius\Component\Core\Test\Services\EmailChecker; |
| 21 | -use Symfony\Component\Filesystem\Filesystem; |
|
| 22 | 21 | use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; |
| 22 | +use Symfony\Component\Filesystem\Filesystem; |
|
| 23 | 23 | use Symfony\Contracts\Translation\TranslatorInterface; |
| 24 | 24 | |
| 25 | 25 | final class OrderEmailManagerTest extends KernelTestCase |