Completed
Branch master (429264)
by Kamil
37:02
created
src/Sylius/Behat/Context/Setup/OrderContext.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,19 +14,19 @@
 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\Component\Core\Model\AddressInterface;
17 18
 use Sylius\Component\Core\Model\ChannelInterface;
18 19
 use Sylius\Component\Core\Model\CouponInterface;
19
-use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface;
20
-use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
21
-use Sylius\Component\Core\Model\AddressInterface;
22 20
 use Sylius\Component\Core\Model\OrderInterface;
23 21
 use Sylius\Component\Core\Model\OrderItemInterface;
24 22
 use Sylius\Component\Core\Model\ProductInterface;
25 23
 use Sylius\Component\Core\Model\ProductVariantInterface;
26 24
 use Sylius\Component\Core\Model\ShippingMethodInterface;
25
+use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface;
27 26
 use Sylius\Component\Core\OrderProcessing\OrderShipmentProcessorInterface;
28 27
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
29 28
 use Sylius\Component\Core\Test\Services\SharedStorageInterface;
29
+use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
30 30
 use Sylius\Component\Order\OrderTransitions;
31 31
 use Sylius\Component\Payment\Factory\PaymentFactoryInterface;
32 32
 use Sylius\Component\Payment\Model\PaymentInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ShippingContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Sylius\Component\Core\Model\ShippingMethodInterface;
19 19
 use Sylius\Component\Core\Test\Services\SharedStorageInterface;
20 20
 use Sylius\Component\Resource\Factory\FactoryInterface;
21
-use Sylius\Component\Resource\Repository\RepositoryInterface;
22 21
 use Sylius\Component\Shipping\Calculator\DefaultCalculators;
23 22
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
24 23
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingCustomersContext.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\Behat\Context\Ui\Admin;
13 13
 
14 14
 use Behat\Behat\Context\Context;
15
-use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
16 15
 use Sylius\Behat\Page\Admin\Crud\IndexPageInterface;
16
+use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
17 17
 use Sylius\Behat\Page\Admin\Customer\CreatePageInterface;
18 18
 use Sylius\Component\User\Model\CustomerInterface;
19 19
 use Webmozart\Assert\Assert;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/CheckoutContext.php 1 patch
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,18 +13,18 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Behat\Context\Context;
15 15
 use Sylius\Behat\Page\Shop\Checkout\AddressingPageInterface;
16
-use Sylius\Behat\Page\Shop\Checkout\PaymentPageInterface;
17
-use Sylius\Behat\Page\Shop\Checkout\ShippingPageInterface;
18
-use Sylius\Behat\Page\Shop\Checkout\SummaryPageInterface;
19
-use Sylius\Behat\Page\Shop\Order\OrderPaymentsPageInterface;
20 16
 use Sylius\Behat\Page\Shop\Checkout\AddressingStepInterface;
21 17
 use Sylius\Behat\Page\Shop\Checkout\FinalizeStepInterface;
18
+use Sylius\Behat\Page\Shop\Checkout\PaymentPageInterface;
22 19
 use Sylius\Behat\Page\Shop\Checkout\PaymentStepInterface;
23 20
 use Sylius\Behat\Page\Shop\Checkout\SecurityStepInterface;
21
+use Sylius\Behat\Page\Shop\Checkout\ShippingPageInterface;
24 22
 use Sylius\Behat\Page\Shop\Checkout\ShippingStepInterface;
23
+use Sylius\Behat\Page\Shop\Checkout\SummaryPageInterface;
25 24
 use Sylius\Behat\Page\Shop\Checkout\ThankYouPageInterface;
26
-use Sylius\Component\Core\Formatter\StringInflector;
25
+use Sylius\Behat\Page\Shop\Order\OrderPaymentsPageInterface;
27 26
 use Sylius\Behat\Service\SecurityServiceInterface;
27
+use Sylius\Component\Core\Formatter\StringInflector;
28 28
 use Sylius\Component\Core\Model\AddressInterface;
29 29
 use Sylius\Component\Core\Model\OrderInterface;
30 30
 use Sylius\Component\Core\Model\ProductInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/PaypalContext.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\Behat\Context\Ui;
13 13
 
14 14
 use Behat\Behat\Context\Context;
15
-use Sylius\Behat\Page\Shop\Checkout\FinalizeStepInterface;
16 15
 use Sylius\Behat\Page\External\PaypalExpressCheckoutPageInterface;
16
+use Sylius\Behat\Page\Shop\Checkout\FinalizeStepInterface;
17 17
 use Sylius\Behat\Page\Shop\Order\OrderPaymentsPageInterface;
18 18
 use Sylius\Behat\Service\Mocker\PaypalApiMocker;
19 19
 use Sylius\Component\Core\Model\OrderInterface;
Please login to merge, or discard this patch.
Context/Environment/Handler/ContextServiceEnvironmentHandler.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 use Behat\Testwork\Environment\Handler\EnvironmentHandler;
19 19
 use Behat\Testwork\Suite\Exception\SuiteConfigurationException;
20 20
 use Behat\Testwork\Suite\Suite;
21
-use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment;
22 21
 use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry;
22
+use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment;
23 23
 use Symfony\Component\DependencyInjection\ContainerInterface;
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Extension/MultiContainerExtension/Loader/XmlFileLoader.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@
 block discarded – undo
15 15
 use Symfony\Component\Config\FileLocatorInterface;
16 16
 use Symfony\Component\Config\Resource\FileResource;
17 17
 use Symfony\Component\Config\Util\XmlUtils;
18
+use Symfony\Component\DependencyInjection\Alias;
18 19
 use Symfony\Component\DependencyInjection\ContainerBuilder;
19
-use Symfony\Component\DependencyInjection\DefinitionDecorator;
20 20
 use Symfony\Component\DependencyInjection\ContainerInterface;
21
-use Symfony\Component\DependencyInjection\Alias;
22 21
 use Symfony\Component\DependencyInjection\Definition;
23
-use Symfony\Component\DependencyInjection\Loader\FileLoader;
24
-use Symfony\Component\DependencyInjection\Reference;
22
+use Symfony\Component\DependencyInjection\DefinitionDecorator;
25 23
 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
26 24
 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
25
+use Symfony\Component\DependencyInjection\Loader\FileLoader;
26
+use Symfony\Component\DependencyInjection\Reference;
27 27
 use Symfony\Component\ExpressionLanguage\Expression;
28 28
 
29 29
 /**
Please login to merge, or discard this patch.
MultiContainerExtension/ServiceContainer/MultiContainerExtension.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Behat\Testwork\ServiceContainer\Extension;
17 17
 use Behat\Testwork\ServiceContainer\ExtensionManager;
18 18
 use Sylius\Behat\Extension\MultiContainerExtension\ContainerConfiguration;
19
-use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler;
20 19
 use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry;
20
+use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler;
21 21
 use Sylius\Behat\Extension\MultiContainerExtension\Loader\XmlFileLoader;
22 22
 use Sylius\Behat\Extension\MultiContainerExtension\ScopeManipulator;
23 23
 use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Customer/ShowPage.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\Behat\Page\Admin\Customer;
13 13
 
14 14
 use Sylius\Behat\Page\SymfonyPage;
15
-use Webmozart\Assert\Assert;
16 15
 
17 16
 /**
18 17
  * @author Magdalena Banasiak <[email protected]>
Please login to merge, or discard this patch.