Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
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.
Component/Core/Resolver/ZoneAndChannelBasedShippingMethodsResolver.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface;
15
-use Sylius\Component\Core\Model\Scope;
16 15
 use Sylius\Component\Core\Model\OrderInterface;
16
+use Sylius\Component\Core\Model\Scope;
17 17
 use Sylius\Component\Core\Model\ShipmentInterface;
18
+use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
18 19
 use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface;
19 20
 use Sylius\Component\Shipping\Model\ShippingSubjectInterface;
20
-use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
21 21
 use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
22 22
 use Webmozart\Assert\Assert;
23 23
 
Please login to merge, or discard this patch.
Core/spec/Resolver/ZoneAndChannelBasedShippingMethodsResolverSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,16 +14,16 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface;
16 16
 use Sylius\Component\Addressing\Model\ZoneInterface;
17
-use Sylius\Component\Core\Model\Scope;
18 17
 use Sylius\Component\Core\Model\AddressInterface;
19 18
 use Sylius\Component\Core\Model\ChannelInterface;
20 19
 use Sylius\Component\Core\Model\OrderInterface;
20
+use Sylius\Component\Core\Model\Scope;
21 21
 use Sylius\Component\Core\Model\ShipmentInterface;
22 22
 use Sylius\Component\Core\Model\ShippingMethodInterface;
23
+use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
23 24
 use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver;
24 25
 use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface;
25 26
 use Sylius\Component\Shipping\Model\ShippingSubjectInterface;
26
-use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
27 27
 use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
28 28
 
29 29
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductsContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
 use Sylius\Behat\NotificationType;
17 17
 use Sylius\Behat\Page\Admin\Crud\CreatePageInterface;
18 18
 use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
19
+use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
19 20
 use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface;
20 21
 use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface;
21 22
 use Sylius\Behat\Page\Admin\Product\IndexPageInterface;
22 23
 use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface;
23 24
 use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface;
24 25
 use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface;
25
-use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
26 26
 use Sylius\Behat\Page\SymfonyPageInterface;
27 27
 use Sylius\Behat\Service\NotificationCheckerInterface;
28 28
 use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.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\AddressInterface;
16 16
 use Sylius\Component\Core\Model\ProductInterface;
17 17
 use Sylius\Component\Core\Model\ShippingMethodInterface;
18
-use Sylius\Component\Payment\Model\PaymentMethodInterface;
19 18
 
20 19
 /**
21 20
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/Controller/TokenController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\ApiBundle\Controller;
13 13
 
14 14
 use FOS\RestBundle\Decoder\DecoderProviderInterface;
15
-use Symfony\Component\HttpFoundation\Request;
16
-use Symfony\Component\HttpFoundation\ParameterBag;
17 15
 use OAuth2\OAuth2;
18 16
 use OAuth2\OAuth2ServerException;
17
+use Symfony\Component\HttpFoundation\ParameterBag;
18
+use Symfony\Component\HttpFoundation\Request;
19 19
 use Symfony\Component\HttpFoundation\Response;
20 20
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
21 21
 
Please login to merge, or discard this patch.