Completed
Push — typed-attributes ( d3ca51...006bdc )
by Kamil
22:02
created
src/Sylius/Bundle/UserBundle/Controller/UserController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 use Sylius\Bundle\UserBundle\Form\Type\UserRequestPasswordResetType;
24 24
 use Sylius\Bundle\UserBundle\Form\Type\UserResetPasswordType;
25 25
 use Sylius\Bundle\UserBundle\UserEvents;
26
-use Sylius\Component\Resource\Model\ResourceInterface;
27 26
 use Sylius\Component\User\Model\UserInterface;
28 27
 use Sylius\Component\User\Security\Generator\GeneratorInterface;
29 28
 use Symfony\Component\EventDispatcher\GenericEvent;
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/Controller/OrderController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -13,9 +13,7 @@  discard block
 block discarded – undo
13 13
 
14 14
 namespace Sylius\Bundle\OrderBundle\Controller;
15 15
 
16
-use Doctrine\ORM\EntityManager;
17 16
 use FOS\RestBundle\View\View;
18
-use Payum\Core\Registry\RegistryInterface;
19 17
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
20 18
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
21 19
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
@@ -25,11 +23,9 @@  discard block
 block discarded – undo
25 23
 use Sylius\Component\Resource\ResourceActions;
26 24
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
27 25
 use Symfony\Component\EventDispatcher\GenericEvent;
28
-use Symfony\Component\HttpFoundation\RedirectResponse;
29 26
 use Symfony\Component\HttpFoundation\Request;
30 27
 use Symfony\Component\HttpFoundation\Response;
31 28
 use Symfony\Component\HttpKernel\Exception\HttpException;
32
-use Webmozart\Assert\Assert;
33 29
 
34 30
 class OrderController extends ResourceController
35 31
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/Product.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,12 +15,11 @@
 block discarded – undo
15 15
 
16 16
 use Doctrine\Common\Collections\ArrayCollection;
17 17
 use Doctrine\Common\Collections\Collection;
18
-use Sylius\Component\Attribute\Model\AttributeInterface;
19
-use Webmozart\Assert\Assert;
20 18
 use Sylius\Component\Attribute\Model\AttributeValueInterface;
21 19
 use Sylius\Component\Resource\Model\TimestampableTrait;
22 20
 use Sylius\Component\Resource\Model\ToggleableTrait;
23 21
 use Sylius\Component\Resource\Model\TranslatableTrait;
22
+use Webmozart\Assert\Assert;
24 23
 
25 24
 /**
26 25
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Symfony\Component\Validator\Constraint;
22 22
 use Symfony\Component\Validator\ConstraintValidator;
23 23
 use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
24
-use Symfony\Component\Validator\Exception\UnexpectedTypeException;
25 24
 use Webmozart\Assert\Assert;
26 25
 
27 26
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Factory/PaymentMethodFactorySpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use Payum\Core\Model\GatewayConfigInterface;
17 17
 use PhpSpec\ObjectBehavior;
18
-use Sylius\Component\Core\Factory\PaymentMethodFactory;
19 18
 use Sylius\Component\Core\Factory\PaymentMethodFactoryInterface;
20 19
 use Sylius\Component\Core\Model\PaymentMethodInterface;
21 20
 use Sylius\Component\Resource\Factory\FactoryInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/StateResolver/OrderPaymentStateResolver.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@
 block discarded – undo
16 16
 use Doctrine\Common\Collections\Collection;
17 17
 use SM\Factory\FactoryInterface;
18 18
 use SM\StateMachine\StateMachineInterface;
19
-use Sylius\Component\Order\Model\OrderInterface;
20
-use Sylius\Component\Order\StateResolver\StateResolverInterface;
21 19
 use Sylius\Component\Core\Model\PaymentInterface;
22 20
 use Sylius\Component\Core\OrderPaymentTransitions;
21
+use Sylius\Component\Order\Model\OrderInterface;
22
+use Sylius\Component\Order\StateResolver\StateResolverInterface;
23 23
 
24 24
 /**
25 25
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.