Completed
Push — phpspec-7 ( 2faf6a )
by Kamil
62:22 queued 34:00
created
src/Sylius/Behat/Context/Transform/CartTokenContext.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -15,9 +15,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Sylius/Bundle/ApiBundle/CommandHandler/Cart/RemoveItemFromCartHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Form/Type/UserType.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -16,10 +16,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
Bundle/ApiBundle/CommandHandler/Checkout/ChoosePaymentMethodHandler.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/AttributeRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,16 +16,16 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductOptionRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/PromotionRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Tests/Mailer/OrderEmailManagerTest.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.