Completed
Push — scrutinizer ( 763ce5 )
by Kamil
46:15
created
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Sylius\Component\Core\Model\AddressInterface;
16 16
 use Sylius\Component\Core\Model\ProductInterface;
17 17
 use Sylius\Component\Core\Model\ShippingMethodInterface;
18
-use Sylius\Component\Payment\Model\PaymentMethodInterface;
19 18
 
20 19
 /**
21 20
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/Controller/TokenController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\ApiBundle\Controller;
13 13
 
14 14
 use FOS\RestBundle\Decoder\DecoderProviderInterface;
15
-use Symfony\Component\HttpFoundation\Request;
16
-use Symfony\Component\HttpFoundation\ParameterBag;
17 15
 use OAuth2\OAuth2;
18 16
 use OAuth2\OAuth2ServerException;
17
+use Symfony\Component\HttpFoundation\ParameterBag;
18
+use Symfony\Component\HttpFoundation\Request;
19 19
 use Symfony\Component\HttpFoundation\Response;
20 20
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
21 21
 
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
@@ -13,12 +13,11 @@
 block discarded – undo
13 13
 
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16
-use Webmozart\Assert\Assert;
17 16
 use Sylius\Component\Attribute\Model\AttributeValueInterface;
18 17
 use Sylius\Component\Resource\Model\TimestampableTrait;
19 18
 use Sylius\Component\Resource\Model\ToggleableTrait;
20 19
 use Sylius\Component\Resource\Model\TranslatableTrait;
21
-use Sylius\Component\Resource\Model\TranslationInterface;
20
+use Webmozart\Assert\Assert;
22 21
 
23 22
 /**
24 23
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Bundle/ApiBundle/spec/Form/EventSubscriber/AddUserFormSubscriberSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Prophecy\Argument;
16 16
 use Sylius\Bundle\ApiBundle\Form\EventSubscriber\AddUserFormSubscriber;
17
-use Sylius\Component\User\Model\UserInterface;
18 17
 use Sylius\Component\User\Model\UserAwareInterface;
18
+use Sylius\Component\User\Model\UserInterface;
19 19
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
20 20
 use Symfony\Component\Form\Form;
21 21
 use Symfony\Component\Form\FormEvent;
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/spec/EventListener/ReviewCreateListenerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ReviewBundle\EventListener;
13 13
 
14
+use Sylius\Component\Customer\Context\CustomerContextInterface;
14 15
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
15 16
 use Sylius\Component\Review\Model\ReviewInterface;
16
-use Sylius\Component\Customer\Context\CustomerContextInterface;
17 17
 use Symfony\Component\EventDispatcher\GenericEvent;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/EventListener/UserMailerListenerSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,6 @@
 block discarded – undo
21 21
 use Sylius\Component\Core\Model\CustomerInterface;
22 22
 use Sylius\Component\Core\Model\ShopUserInterface;
23 23
 use Sylius\Component\Mailer\Sender\SenderInterface;
24
-use Sylius\Component\Resource\Exception\UnexpectedTypeException;
25
-use Sylius\Component\User\Model\UserInterface;
26 24
 use Symfony\Component\EventDispatcher\GenericEvent;
27 25
 
28 26
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Fixture/GeographicalFixtureSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Sylius\Component\Addressing\Factory\ZoneFactoryInterface;
8 7
 use Sylius\Bundle\CoreBundle\Fixture\GeographicalFixture;
9 8
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
9
+use Sylius\Component\Addressing\Factory\ZoneFactoryInterface;
10 10
 use Sylius\Component\Addressing\Model\CountryInterface;
11 11
 use Sylius\Component\Addressing\Model\ProvinceInterface;
12 12
 use Sylius\Component\Addressing\Model\ZoneInterface;
Please login to merge, or discard this patch.
CoreBundle/spec/Form/DataTransformer/ProductsToCodesTransformerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use Sylius\Bundle\CoreBundle\Form\DataTransformer\ProductsToCodesTransformer;
18 18
 use Sylius\Component\Core\Model\ProductInterface;
19
-use Sylius\Component\Resource\Exception\UnexpectedTypeException;
20 19
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
20
+use Sylius\Component\Resource\Exception\UnexpectedTypeException;
21 21
 use Symfony\Component\Form\DataTransformerInterface;
22 22
 
23 23
 /**
Please login to merge, or discard this patch.
Bundle/CoreBundle/spec/Form/EventSubscriber/AddUserFormSubscriberSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Prophecy\Argument;
16 16
 use Sylius\Bundle\CoreBundle\Form\EventSubscriber\AddUserFormSubscriber;
17
-use Sylius\Component\User\Model\UserInterface;
18 17
 use Sylius\Component\User\Model\UserAwareInterface;
18
+use Sylius\Component\User\Model\UserInterface;
19 19
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
20 20
 use Symfony\Component\Form\Form;
21 21
 use Symfony\Component\Form\FormEvent;
Please login to merge, or discard this patch.