Completed
Push — unused-definitions ( d9908f )
by Kamil
18:33
created
src/Sylius/Bundle/OrderBundle/Controller/OrderItemController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 use Sylius\Component\Order\Model\OrderItemInterface;
23 23
 use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
24 24
 use Sylius\Component\Order\Modifier\OrderModifierInterface;
25
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
26 25
 use Symfony\Component\Form\FormFactoryInterface;
27 26
 use Symfony\Component\HttpFoundation\RedirectResponse;
28 27
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.
src/Sylius/Bundle/PromotionBundle/Form/Type/PromotionRuleType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\PromotionBundle\Form\Type;
13 13
 
14
-use Sylius\Bundle\PromotionBundle\Form\EventListener\BuildPromotionRuleFormSubscriber;
15
-use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType;
16 14
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
17 15
 use Sylius\Component\Promotion\Checker\Rule\ItemTotalRuleChecker;
18 16
 use Sylius\Component\Registry\ServiceRegistryInterface;
Please login to merge, or discard this patch.
Bundle/ResourceBundle/Doctrine/ODM/MongoDB/TranslatableRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB;
13 13
 
14 14
 use Doctrine\MongoDB\Query\Builder as QueryBuilder;
15
-use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface;
16 15
 use Sylius\Component\Resource\Repository\TranslatableRepositoryInterface;
16
+use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface;
17 17
 
18 18
 /**
19 19
  * Doctrine ORM driver translatable entity repository.
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/EventListener/ORMTranslatableListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use Sylius\Component\Resource\Metadata\RegistryInterface;
22 22
 use Sylius\Component\Resource\Model\TranslatableInterface;
23 23
 use Sylius\Component\Resource\Model\TranslationInterface;
24
-use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface;
25 24
 use Sylius\Component\Resource\Translation\TranslatableEntityLocaleAssignerInterface;
26 25
 use Symfony\Component\DependencyInjection\ContainerInterface;
27 26
 
Please login to merge, or discard this patch.
Sylius/Component/Core/Promotion/Action/DiscountPromotionActionCommand.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.
Component/Core/Promotion/Checker/Rule/TotalOfItemsFromTaxonRuleChecker.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use Sylius\Component\Promotion\Action\PromotionActionInterface;
25 25
 use Sylius\Component\Promotion\Model\PromotionInterface;
26 26
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
27
-use Sylius\Component\Resource\Exception\UnexpectedTypeException;
28 27
 
29 28
 /**
30 29
  * @mixin PercentageDiscountAction
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Controller/ProductAttributeController.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\Component\Order\Modifier\OrderModifierInterface;
24 24
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
25 25
 use Symfony\Component\Form\FormFactoryInterface;
26
-use Symfony\Component\HttpFoundation\JsonResponse;
27 26
 use Symfony\Component\HttpFoundation\RedirectResponse;
28 27
 use Symfony\Component\HttpFoundation\Request;
29 28
 use Symfony\Component\HttpFoundation\Response;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/OrderContext.php 1 patch
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -14,32 +14,32 @@
 block discarded – undo
14 14
 use Behat\Behat\Context\Context;
15 15
 use Doctrine\Common\Persistence\ObjectManager;
16 16
 use SM\Factory\FactoryInterface as StateMachineFactoryInterface;
17
+use Sylius\Behat\Service\SharedStorageInterface;
17 18
 use Sylius\Component\Core\Currency\CurrencyStorageInterface;
19
+use Sylius\Component\Core\Model\AddressInterface;
18 20
 use Sylius\Component\Core\Model\ChannelInterface;
19 21
 use Sylius\Component\Core\Model\ChannelPricingInterface;
20
-use Sylius\Component\Core\Model\PromotionCouponInterface;
21
-use Sylius\Component\Core\OrderCheckoutTransitions;
22
-use Sylius\Component\Currency\Model\CurrencyInterface;
23
-use Sylius\Component\Order\Processor\OrderProcessorInterface;
24
-use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
25
-use Sylius\Component\Core\Model\AddressInterface;
26 22
 use Sylius\Component\Core\Model\OrderInterface;
27 23
 use Sylius\Component\Core\Model\OrderItemInterface;
28 24
 use Sylius\Component\Core\Model\ProductInterface;
29 25
 use Sylius\Component\Core\Model\ProductVariantInterface;
26
+use Sylius\Component\Core\Model\PromotionCouponInterface;
30 27
 use Sylius\Component\Core\Model\ShippingMethodInterface;
28
+use Sylius\Component\Core\OrderCheckoutTransitions;
31 29
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
32
-use Sylius\Behat\Service\SharedStorageInterface;
30
+use Sylius\Component\Currency\Model\CurrencyInterface;
31
+use Sylius\Component\Customer\Model\CustomerInterface;
32
+use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
33 33
 use Sylius\Component\Order\OrderTransitions;
34
+use Sylius\Component\Order\Processor\OrderProcessorInterface;
34 35
 use Sylius\Component\Payment\Model\PaymentInterface;
35 36
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
36 37
 use Sylius\Component\Payment\PaymentTransitions;
38
+use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
37 39
 use Sylius\Component\Resource\Factory\FactoryInterface;
38 40
 use Sylius\Component\Resource\Repository\RepositoryInterface;
39 41
 use Sylius\Component\Shipping\ShipmentTransitions;
40
-use Sylius\Component\Customer\Model\CustomerInterface;
41 42
 use Sylius\Component\User\Model\UserInterface;
42
-use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
43 43
 
44 44
 /**
45 45
  * @author Łukasz Chruściel <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/UserContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Behat\Context\Context;
15 15
 use Doctrine\Common\Persistence\ObjectManager;
16
-use Sylius\Bundle\CoreBundle\Fixture\Factory\ExampleFactoryInterface;
17 16
 use Sylius\Behat\Service\SharedStorageInterface;
17
+use Sylius\Bundle\CoreBundle\Fixture\Factory\ExampleFactoryInterface;
18 18
 use Sylius\Component\User\Model\UserInterface;
19 19
 use Sylius\Component\User\Repository\UserRepositoryInterface;
20 20
 
Please login to merge, or discard this patch.