Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableFixtureLoaderSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,13 +14,11 @@
 block discarded – undo
14 14
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18 17
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
19 18
 use Sylius\Bundle\FixturesBundle\Listener\AfterFixtureListenerInterface;
20 19
 use Sylius\Bundle\FixturesBundle\Listener\BeforeFixtureListenerInterface;
21 20
 use Sylius\Bundle\FixturesBundle\Listener\FixtureEvent;
22 21
 use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface;
23
-use Sylius\Bundle\FixturesBundle\Loader\HookableFixtureLoader;
24 22
 use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface;
25 23
 
26 24
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableSuiteLoaderSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,11 +14,9 @@
 block discarded – undo
14 14
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18 17
 use Sylius\Bundle\FixturesBundle\Listener\AfterSuiteListenerInterface;
19 18
 use Sylius\Bundle\FixturesBundle\Listener\BeforeSuiteListenerInterface;
20 19
 use Sylius\Bundle\FixturesBundle\Listener\SuiteEvent;
21
-use Sylius\Bundle\FixturesBundle\Loader\HookableSuiteLoader;
22 20
 use Sylius\Bundle\FixturesBundle\Loader\SuiteLoaderInterface;
23 21
 use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface;
24 22
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/SuiteLoaderSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,8 @@
 block discarded – undo
14 14
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18 17
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
19 18
 use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface;
20
-use Sylius\Bundle\FixturesBundle\Loader\SuiteLoader;
21 19
 use Sylius\Bundle\FixturesBundle\Loader\SuiteLoaderInterface;
22 20
 use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface;
23 21
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Suite/SuiteFactorySpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,12 +15,10 @@
 block discarded – undo
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use PhpSpec\Wrapper\Collaborator;
18
-use Prophecy\Argument;
19 18
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
20 19
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureRegistryInterface;
21 20
 use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface;
22 21
 use Sylius\Bundle\FixturesBundle\Listener\ListenerRegistryInterface;
23
-use Sylius\Bundle\FixturesBundle\Suite\SuiteFactory;
24 22
 use Sylius\Bundle\FixturesBundle\Suite\SuiteFactoryInterface;
25 23
 use Symfony\Component\Config\Definition\Processor;
26 24
 
Please login to merge, or discard this patch.
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.
Sylius/Bundle/AddressingBundle/Tests/Form/Type/CountryChoiceTypeTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,10 +7,8 @@
 block discarded – undo
7 7
 use PHPUnit\Framework\Assert;
8 8
 use Prophecy\Prophecy\ProphecyInterface;
9 9
 use Sylius\Bundle\AddressingBundle\Form\Type\CountryChoiceType;
10
-use Sylius\Component\Addressing\Model\Country;
11 10
 use Sylius\Component\Addressing\Model\CountryInterface;
12 11
 use Sylius\Component\Resource\Repository\RepositoryInterface;
13
-use Symfony\Component\Form\ChoiceList\View\ChoiceListView;
14 12
 use Symfony\Component\Form\ChoiceList\View\ChoiceView;
15 13
 use Symfony\Component\Form\PreloadedExtension;
16 14
 use Symfony\Component\Form\Test\TypeTestCase;
Please login to merge, or discard this patch.