Completed
Push — master ( 853564...3b9a93 )
by Paweł
10:39
created
src/Sylius/Bundle/OrderBundle/Controller/OrderController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\OrderBundle\Controller;
13 13
 
14
-use Doctrine\ORM\EntityManager;
15 14
 use FOS\RestBundle\View\View;
16
-use Payum\Core\Registry\RegistryInterface;
17 15
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
18 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
19 17
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
@@ -27,7 +25,6 @@  discard block
 block discarded – undo
27 25
 use Symfony\Component\HttpFoundation\Request;
28 26
 use Symfony\Component\HttpFoundation\Response;
29 27
 use Symfony\Component\HttpKernel\Exception\HttpException;
30
-use Webmozart\Assert\Assert;
31 28
 
32 29
 class OrderController extends ResourceController
33 30
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Context/SessionAndChannelBasedCartContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Component\Channel\Context\ChannelContextInterface;
15 15
 use Sylius\Component\Channel\Context\ChannelNotFoundException;
16
-use Sylius\Component\Core\Model\OrderInterface;
17 16
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
18 17
 use Sylius\Component\Order\Context\CartContextInterface;
19 18
 use Sylius\Component\Order\Context\CartNotFoundException;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Shipping/Calculator/FlatRateCalculator.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 use Sylius\Component\Core\Exception\MissingChannelConfigurationException;
15 15
 use Sylius\Component\Core\Model\ShipmentInterface;
16 16
 use Sylius\Component\Shipping\Calculator\CalculatorInterface;
17
-use Sylius\Component\Shipping\Model\ShipmentInterface  as BaseShipmentInterface;
17
+use Sylius\Component\Shipping\Model\ShipmentInterface as BaseShipmentInterface;
18 18
 use Webmozart\Assert\Assert;
19 19
 
20 20
 /**
Please login to merge, or discard this patch.
Bundle/AdminApiBundle/DependencyInjection/SyliusAdminApiExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,15 +11,12 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\AdminApiBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\AdminApiBundle\Controller\TokenController;
15 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
16 15
 use Symfony\Component\Config\FileLocator;
17 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
18
-use Symfony\Component\DependencyInjection\Definition;
19 17
 use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException;
20 18
 use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
21 19
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
22
-use Symfony\Component\DependencyInjection\Reference;
23 20
 
24 21
 /**
25 22
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Bundle/AdminApiBundle/Fixture/Factory/ApiAccessTokenExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\AdminApiBundle\Fixture\Factory;
13 13
 
14
-use FOS\OAuthServerBundle\Model\ClientManagerInterface;
15 14
 use Sylius\Bundle\AdminApiBundle\Model\AccessTokenInterface;
16 15
 use Sylius\Bundle\AdminApiBundle\Model\ClientInterface;
17 16
 use Sylius\Bundle\AdminApiBundle\Model\UserInterface;
Please login to merge, or discard this patch.
tests/Controller/ProductVariantApiTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Tests\Controller;
13 13
 
14 14
 use Lakion\ApiTestCase\JsonApiTestCase;
15
-use Sylius\Bundle\AdminApiBundle\Form\Type\ProductVariantType;
16 15
 use Sylius\Component\Core\Model\ProductInterface;
17 16
 use Sylius\Component\Core\Model\ProductVariantInterface;
18 17
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Promotion/CreatePage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Behat\Page\Admin\Promotion;
13 13
 
14
-use Behat\Mink\Driver\Selenium2Driver;
15 14
 use Behat\Mink\Element\NodeElement;
16 15
 use Behat\Mink\Exception\ElementNotFoundException;
17 16
 use Sylius\Behat\Behaviour\NamesIt;
Please login to merge, or discard this patch.