Completed
Push — symfony3 ( ec9673...e0eba1 )
by Kamil
18:54
created
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 use Sylius\Behat\Page\Admin\Channel\IndexPageInterface;
16 16
 use Sylius\Behat\Page\Admin\Channel\UpdatePageInterface;
17 17
 use Sylius\Behat\Page\Shop\HomePageInterface;
18
+use Sylius\Behat\Service\SharedStorageInterface;
18 19
 use Sylius\Bundle\ThemeBundle\Model\ThemeInterface;
19 20
 use Sylius\Component\Core\Model\ChannelInterface;
20
-use Sylius\Behat\Service\SharedStorageInterface;
21 21
 use Webmozart\Assert\Assert;
22 22
 
23 23
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Shop/CartContext.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\Mink\Exception\ElementNotFoundException;
15 15
 use Sylius\Behat\Page\PageInterface;
16
-use Sylius\Component\Product\Model\ProductOptionInterface;
17 16
 use Sylius\Component\Product\Model\ProductInterface;
17
+use Sylius\Component\Product\Model\ProductOptionInterface;
18 18
 
19 19
 /**
20 20
  * @author Łukasz Chruściel <[email protected]>
Please login to merge, or discard this patch.
Component/Core/Resolver/ZoneAndChannelBasedShippingMethodsResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
 use Sylius\Component\Core\Model\OrderInterface;
20 20
 use Sylius\Component\Core\Model\ShipmentInterface;
21 21
 use Sylius\Component\Core\Model\ShippingMethodInterface;
22
+use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
22 23
 use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver;
23 24
 use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface;
24 25
 use Sylius\Component\Shipping\Model\ShippingSubjectInterface;
25
-use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface;
26 26
 use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface;
27 27
 
28 28
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/StateResolver/OrderPaymentStateResolver.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 
14 14
 use SM\Factory\FactoryInterface;
15 15
 use SM\StateMachine\StateMachineInterface;
16
-use Sylius\Component\Order\Model\OrderInterface;
17
-use Sylius\Component\Order\StateResolver\StateResolverInterface;
18 16
 use Sylius\Component\Core\Model\ShipmentInterface;
19 17
 use Sylius\Component\Core\OrderShippingStates;
20 18
 use Sylius\Component\Core\OrderShippingTransitions;
19
+use Sylius\Component\Order\Model\OrderInterface;
20
+use Sylius\Component\Order\StateResolver\StateResolverInterface;
21 21
 
22 22
 /**
23 23
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductReviewContext.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 use Sylius\Behat\Page\Admin\Channel\IndexPageInterface;
16 16
 use Sylius\Behat\Page\Admin\Channel\UpdatePageInterface;
17 17
 use Sylius\Behat\Page\Shop\HomePageInterface;
18
+use Sylius\Behat\Service\SharedStorageInterface;
18 19
 use Sylius\Bundle\ThemeBundle\Model\ThemeInterface;
19 20
 use Sylius\Component\Core\Model\ChannelInterface;
20
-use Sylius\Behat\Service\SharedStorageInterface;
21 21
 use Webmozart\Assert\Assert;
22 22
 
23 23
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/AddressPage.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
 use Sylius\Behat\Page\SymfonyPage;
19 19
 use Sylius\Component\Core\Factory\AddressFactoryInterface;
20 20
 use Sylius\Component\Core\Model\AddressInterface;
21
-use Sylius\Component\Locale\Context\LocaleContextInterface;
22
-use Symfony\Component\Intl\Intl;
23 21
 use Symfony\Component\Routing\RouterInterface;
24 22
 use Webmozart\Assert\Assert;
25 23
 
Please login to merge, or discard this patch.
Bundle/PromotionBundle/DependencyInjection/SyliusPromotionExtension.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -12,12 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\PromotionBundle\DependencyInjection;
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
15
-use Sylius\Component\Resource\Factory\Factory;
16 15
 use Symfony\Component\Config\FileLocator;
17 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
18
-use Symfony\Component\DependencyInjection\Definition;
19 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
20
-use Symfony\Component\DependencyInjection\Parameter;
21 18
 use Symfony\Component\DependencyInjection\Reference;
22 19
 
23 20
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingOrdersContext.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\Core\Model\AdminUserInterface;
24 24
 use Sylius\Component\Core\Model\CustomerInterface;
25 25
 use Sylius\Component\Core\Model\OrderInterface;
26
-use Sylius\Component\Core\OrderPaymentStates;
27 26
 use Webmozart\Assert\Assert;
28 27
 
29 28
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@  discard block
 block discarded – undo
12 12
 namespace Sylius\Behat\Context\Setup;
13 13
 
14 14
 use Behat\Behat\Context\Context;
15
-use Behat\Behat\Tester\Exception\PendingException;
16 15
 use Behat\Gherkin\Node\TableNode;
17 16
 use Behat\Mink\Element\NodeElement;
18 17
 use Doctrine\Common\Persistence\ObjectManager;
18
+use Sylius\Behat\Service\SharedStorageInterface;
19 19
 use Sylius\Component\Attribute\Factory\AttributeFactoryInterface;
20 20
 use Sylius\Component\Core\Formatter\StringInflector;
21 21
 use Sylius\Component\Core\Model\ChannelInterface;
@@ -25,7 +25,6 @@  discard block
 block discarded – undo
25 25
 use Sylius\Component\Core\Model\ProductVariantInterface;
26 26
 use Sylius\Component\Core\Pricing\Calculators;
27 27
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
28
-use Sylius\Behat\Service\SharedStorageInterface;
29 28
 use Sylius\Component\Core\Uploader\ImageUploaderInterface;
30 29
 use Sylius\Component\Product\Factory\ProductFactoryInterface;
31 30
 use Sylius\Component\Product\Generator\SlugGeneratorInterface;
@@ -33,9 +32,9 @@  discard block
 block discarded – undo
33 32
 use Sylius\Component\Product\Model\ProductAttributeValueInterface;
34 33
 use Sylius\Component\Product\Model\ProductOptionInterface;
35 34
 use Sylius\Component\Product\Model\ProductOptionValueInterface;
35
+use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
36 36
 use Sylius\Component\Resource\Factory\FactoryInterface;
37 37
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
38
-use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
39 38
 use Symfony\Component\HttpFoundation\File\UploadedFile;
40 39
 
41 40
 /**
Please login to merge, or discard this patch.