Completed
Push — master ( cd65b7...d33ce3 )
by Kamil
20s
created
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@  discard block
 block discarded – undo
16 16
 use Behat\Mink\Element\NodeElement;
17 17
 use Doctrine\Common\Persistence\ObjectManager;
18 18
 use Sylius\Behat\Service\SharedStorageInterface;
19
-use Sylius\Component\Attribute\Factory\AttributeFactoryInterface;
20 19
 use Sylius\Component\Core\Formatter\StringInflector;
21 20
 use Sylius\Component\Core\Model\ChannelInterface;
22 21
 use Sylius\Component\Core\Model\ChannelPricingInterface;
@@ -34,7 +33,6 @@  discard block
 block discarded – undo
34 33
 use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
35 34
 use Sylius\Component\Resource\Factory\FactoryInterface;
36 35
 use Sylius\Component\Resource\Model\TranslationInterface;
37
-use Sylius\Component\Resource\Repository\RepositoryInterface;
38 36
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
39 37
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
40 38
 use Symfony\Component\HttpFoundation\File\UploadedFile;
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Fixture/Factory/PaymentMethodExampleFactory.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\Formatter\StringInflector;
18 18
 use Sylius\Component\Core\Model\PaymentMethodInterface;
19 19
 use Sylius\Component\Locale\Model\LocaleInterface;
20
-use Sylius\Component\Resource\Factory\FactoryInterface;
21 20
 use Sylius\Component\Resource\Repository\RepositoryInterface;
22 21
 use Symfony\Component\OptionsResolver\Options;
23 22
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Checkout/CheckoutRedirectListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,11 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\CoreBundle\Checkout;
13 13
 
14
-use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface;
15
-use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
16 14
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
17 15
 use Sylius\Component\Core\Model\OrderInterface;
18
-use Sylius\Component\Resource\Model\ResourceInterface;
19 16
 use Symfony\Component\HttpFoundation\RedirectResponse;
20 17
 use Symfony\Component\HttpFoundation\RequestMatcherInterface;
21 18
 use Symfony\Component\HttpFoundation\RequestStack;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/StateResolver/CheckoutStateResolver.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,12 +14,9 @@
 block discarded – undo
14 14
 use SM\Factory\FactoryInterface;
15 15
 use Sylius\Component\Core\Checker\OrderPaymentMethodSelectionRequirementCheckerInterface;
16 16
 use Sylius\Component\Core\Checker\OrderShippingMethodSelectionRequirementCheckerInterface;
17
-use Sylius\Component\Core\Model\OrderItemInterface;
18
-use Sylius\Component\Core\Model\ShipmentInterface;
19 17
 use Sylius\Component\Core\OrderCheckoutTransitions;
20 18
 use Sylius\Component\Order\Model\OrderInterface;
21 19
 use Sylius\Component\Order\StateResolver\StateResolverInterface;
22
-use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
23 20
 
24 21
 /**
25 22
  * @author Anna Walasek <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption;
15 15
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
16 16
 use Sylius\Component\Core\Formatter\StringInflector;
17
-use Sylius\Component\Core\Model\ChannelInterface;
18 17
 use Sylius\Component\Core\Model\ChannelPricingInterface;
19 18
 use Sylius\Component\Core\Model\ImageInterface;
20 19
 use Sylius\Component\Core\Model\ProductInterface;
Please login to merge, or discard this patch.
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.