Completed
Push — unused-definitions ( 372b74...f37193 )
by Kamil
39:04 queued 19:55
created
src/Sylius/Bundle/AttributeBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -11,12 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\AttributeBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\AttributeBundle\Controller\ProductAttributeController;
15
-use Sylius\Bundle\AttributeBundle\Form\Type\AttributeTranslationType;
16
-use Sylius\Bundle\AttributeBundle\Form\Type\AttributeType;
17
-use Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType;
18 14
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
19
-use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType;
20 15
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
21 16
 use Sylius\Component\Attribute\Model\Attribute;
22 17
 use Sylius\Component\Attribute\Model\AttributeInterface;
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/DependencyInjection/Driver/AbstractDriver.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\Resource\Metadata\MetadataInterface;
18 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
19 19
 use Symfony\Component\DependencyInjection\Definition;
20
-use Symfony\Component\DependencyInjection\Parameter;
21 20
 use Symfony\Component\DependencyInjection\Reference;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
Bundle/ShippingBundle/DependencyInjection/SyliusShippingExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
18 18
 use Symfony\Component\DependencyInjection\Parameter;
19
-use Symfony\Component\DependencyInjection\Reference;
20 19
 
21 20
 /**
22 21
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Component/Core/Promotion/Action/FixedDiscountPromotionActionCommand.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\PromotionBundle\Form\Type\Action\FixedDiscountConfigurationType;
15 15
 use Sylius\Component\Core\Distributor\ProportionalIntegerDistributorInterface;
16 16
 use Sylius\Component\Core\Promotion\Applicator\UnitsPromotionAdjustmentsApplicatorInterface;
17
-use Sylius\Component\Currency\Converter\CurrencyConverterInterface;
18 17
 use Sylius\Component\Promotion\Model\PromotionInterface;
19 18
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
20 19
 use Webmozart\Assert\Assert;
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Component\Core\Model\ShipmentInterface;
15 15
 use Sylius\Component\Shipping\Calculator\CalculatorInterface;
16
-use Sylius\Component\Shipping\Model\ShipmentInterface  as BaseShipmentInterface;
16
+use Sylius\Component\Shipping\Model\ShipmentInterface as BaseShipmentInterface;
17 17
 use Webmozart\Assert\Assert;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/TaxonExampleFactory.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\CoreBundle\Fixture\Factory;
13 13
 
14
-use Doctrine\Common\Persistence\ObjectManager;
15 14
 use Sylius\Component\Core\Formatter\StringInflector;
16 15
 use Sylius\Component\Core\Model\TaxonInterface;
17 16
 use Sylius\Component\Locale\Model\LocaleInterface;
Please login to merge, or discard this patch.
Sylius/Bundle/LocaleBundle/DependencyInjection/SyliusLocaleExtension.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,7 @@
 block discarded – undo
14 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
15 15
 use Symfony\Component\Config\FileLocator;
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17
-use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
18 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
19
-use Symfony\Component\DependencyInjection\Reference;
20 18
 
21 19
 /**
22 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Component/Core/Promotion/Action/UnitDiscountPromotionActionCommand.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\OrderInterface;
16 16
 use Sylius\Component\Core\Model\OrderItemInterface;
17 17
 use Sylius\Component\Core\Model\OrderItemUnitInterface;
18
-use Sylius\Component\Promotion\Action\PromotionActionCommandInterface;
19 18
 use Sylius\Component\Promotion\Model\PromotionInterface;
20 19
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
21 20
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Checkout/CheckoutResolver.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 SM\Factory\FactoryInterface;
15 15
 use Sylius\Component\Core\Model\OrderInterface;
16
-use Sylius\Component\Core\OrderCheckoutTransitions;
17 16
 use Sylius\Component\Order\Context\CartContextInterface;
18 17
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
19 18
 use Symfony\Component\HttpFoundation\RedirectResponse;
Please login to merge, or discard this patch.