Completed
Push — unused-definitions ( d9908f )
by Kamil
18:33
created
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/Behat/Context/Ui/Shop/AccountContext.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Context\Ui\Shop;
13 13
 
14 14
 use Behat\Behat\Context\Context;
15
-use Behat\Mink\Exception\ElementNotFoundException;
16
-use Behat\Mink\Exception\Exception;
17 15
 use Sylius\Behat\NotificationType;
18 16
 use Sylius\Behat\Page\PageInterface;
19 17
 use Sylius\Behat\Page\Shop\Account\ChangePasswordPageInterface;
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.
src/Sylius/Bundle/CoreBundle/Command/SetupCommand.php 1 patch
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,18 +12,14 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CoreBundle\Command;
13 13
 
14 14
 use Sylius\Component\Core\Model\AdminUserInterface;
15
-use Sylius\Component\Core\Model\ChannelInterface;
16
-use Sylius\Component\Currency\Model\CurrencyInterface;
17 15
 use Sylius\Component\Locale\Model\LocaleInterface;
18
-use Sylius\Component\User\Model\UserInterface;
19 16
 use Symfony\Component\Console\Helper\QuestionHelper;
20 17
 use Symfony\Component\Console\Input\InputInterface;
21 18
 use Symfony\Component\Console\Output\OutputInterface;
22 19
 use Symfony\Component\Console\Question\Question;
23
-use Symfony\Component\Intl\Intl;
20
+use Symfony\Component\Validator\ConstraintViolationListInterface;
24 21
 use Symfony\Component\Validator\Constraints\Email;
25 22
 use Symfony\Component\Validator\Constraints\NotBlank;
26
-use Symfony\Component\Validator\ConstraintViolationListInterface;
27 23
 use Webmozart\Assert\Assert;
28 24
 
29 25
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Context/CustomerAndChannelBasedCartContext.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\Customer\Context\CustomerContextInterface;
18 18
 use Sylius\Component\Order\Context\CartContextInterface;
19 19
 use Sylius\Component\Order\Context\CartNotFoundException;
20
-use Sylius\Component\Order\Model\OrderInterface;
21 20
 
22 21
 /**
23 22
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EventListener/ReviewCreateListener.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\ReviewBundle\EventListener;
13 13
 
14
+use Sylius\Component\Customer\Context\CustomerContextInterface;
14 15
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
15 16
 use Sylius\Component\Review\Model\ReviewInterface;
16
-use Sylius\Component\Customer\Context\CustomerContextInterface;
17 17
 use Symfony\Component\EventDispatcher\GenericEvent;
18 18
 
19 19
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Extension/PromotionRuleTypeExtension.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\Bundle\CoreBundle\Form\Extension;
13 13
 
14 14
 use Sylius\Bundle\CoreBundle\Form\EventSubscriber\BuildChannelBasedPromotionRuleFormSubscriber;
15
-use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType;
16 15
 use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleChoiceType;
17 16
 use Sylius\Bundle\PromotionBundle\Form\Type\PromotionRuleType;
18 17
 use Sylius\Component\Channel\Repository\ChannelRepositoryInterface;
Please login to merge, or discard this patch.