Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
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/Fixture/RandomReviewsFixture.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\Fixture;
13 13
 
14 14
 use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture;
15
-use Sylius\Component\Core\Repository\ProductRepositoryInterface;
16 15
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
17 16
 use Symfony\Component\OptionsResolver\OptionsResolver;
18 17
 
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.
src/Sylius/Bundle/CoreBundle/Remover/ReviewerReviewsRemover.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Review\Model;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
+use Sylius\Component\Review\Model\ReviewInterface;
15 16
 use Sylius\Component\Review\Model\ReviewableInterface;
16 17
 use Sylius\Component\Review\Model\ReviewerInterface;
17
-use Sylius\Component\Review\Model\ReviewInterface;
18 18
 
19 19
 /**
20 20
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
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.