Completed
Push — scrutinizer ( 763ce5 )
by Kamil
46:15
created
Sylius/Component/Core/spec/Dashboard/DashboardStatisticsProviderSpec.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\Behat\Context\Context;
15 15
 
16
-use Sylius\Component\Core\Repository\OrderRepositoryInterface;
17 16
 use Sylius\Component\Core\Repository\CustomerRepositoryInterface;
17
+use Sylius\Component\Core\Repository\OrderRepositoryInterface;
18 18
 use Webmozart\Assert\Assert;
19 19
 
20 20
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Dashboard/DashboardStatisticsSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Core\Dashboard;
13 13
 
14
-use Sylius\Component\Core\Dashboard\DashboardStatistics;
15 14
 use PhpSpec\ObjectBehavior;
15
+use Sylius\Component\Core\Dashboard\DashboardStatistics;
16 16
 
17 17
 /**
18 18
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Factory/CartItemFactorySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 use Sylius\Component\Core\Model\OrderItemInterface;
18 18
 use Sylius\Component\Core\Model\ProductInterface;
19 19
 use Sylius\Component\Core\Model\ProductVariantInterface;
20
-use Sylius\Component\Resource\Factory\FactoryInterface;
21 20
 use Sylius\Component\Product\Resolver\ProductVariantResolverInterface;
21
+use Sylius\Component\Resource\Factory\FactoryInterface;
22 22
 
23 23
 /**
24 24
  * @author Grzegorz Sadowski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Factory/PromotionRuleFactorySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 use Sylius\Component\Core\Factory\PromotionRuleFactory;
16 16
 use Sylius\Component\Core\Factory\PromotionRuleFactoryInterface;
17 17
 use Sylius\Component\Core\Promotion\Checker\Rule\ContainsProductRuleChecker;
18
-use Sylius\Component\Core\Promotion\Checker\Rule\NthOrderRuleChecker;
19 18
 use Sylius\Component\Core\Promotion\Checker\Rule\HasTaxonRuleChecker;
19
+use Sylius\Component\Core\Promotion\Checker\Rule\NthOrderRuleChecker;
20 20
 use Sylius\Component\Core\Promotion\Checker\Rule\TotalOfItemsFromTaxonRuleChecker;
21 21
 use Sylius\Component\Promotion\Checker\Rule\CartQuantityRuleChecker;
22 22
 use Sylius\Component\Promotion\Checker\Rule\ItemTotalRuleChecker;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Locale/SessionBasedLocaleStorageSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use Sylius\Component\Channel\Model\ChannelInterface;
7
-use Sylius\Component\Core\Locale\SessionBasedLocaleStorage;
8 7
 use Sylius\Component\Core\Locale\LocaleStorageInterface;
8
+use Sylius\Component\Core\Locale\SessionBasedLocaleStorage;
9 9
 use Sylius\Component\Locale\Context\LocaleNotFoundException;
10 10
 use Symfony\Component\HttpFoundation\Session\SessionInterface;
11 11
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Model/OrderSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,10 +23,10 @@
 block discarded – undo
23 23
 use Sylius\Component\Core\Model\ShipmentInterface;
24 24
 use Sylius\Component\Core\OrderCheckoutStates;
25 25
 use Sylius\Component\Core\OrderShippingStates;
26
+use Sylius\Component\Customer\Model\CustomerInterface;
26 27
 use Sylius\Component\Order\Model\Order as BaseOrder;
27 28
 use Sylius\Component\Order\Model\OrderInterface;
28 29
 use Sylius\Component\Promotion\Model\PromotionCouponInterface;
29
-use Sylius\Component\Customer\Model\CustomerInterface;
30 30
 
31 31
 /**
32 32
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Model/ProductTaxonSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Grid\View;
13 13
 
14
+use PhpSpec\ObjectBehavior;
14 15
 use Sylius\Component\Grid\Definition\Grid;
15 16
 use Sylius\Component\Grid\Parameters;
16 17
 use Sylius\Component\Grid\View\GridView;
17
-use PhpSpec\ObjectBehavior;
18
-use Prophecy\Argument;
19 18
 
20 19
 /**
21 20
  * @mixin GridView
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Model/ProductVariantSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,14 +16,13 @@
 block discarded – undo
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use Sylius\Component\Core\Model\ChannelInterface;
18 18
 use Sylius\Component\Core\Model\ChannelPricingInterface;
19
-use Sylius\Component\Core\Model\ProductInterface;
20 19
 use Sylius\Component\Core\Model\ProductVariant;
21 20
 use Sylius\Component\Core\Model\ProductVariantInterface;
22 21
 use Sylius\Component\Product\Model\ProductVariant as BaseProductVariant;
23 22
 use Sylius\Component\Shipping\Model\ShippableInterface;
24 23
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
25
-use Sylius\Component\Taxation\Model\TaxableInterface;
26 24
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
25
+use Sylius\Component\Taxation\Model\TaxableInterface;
27 26
 
28 27
 /**
29 28
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Sylius/Component/Core/spec/OrderProcessing/OrderShipmentProcessorSpec.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 Sylius\Component\Core\Model\OrderInterface;
17 17
 use Sylius\Component\Core\Model\OrderItemUnitInterface;
18 18
 use Sylius\Component\Core\Model\ShipmentInterface;
19
-use Sylius\Component\Order\Processor\OrderProcessorInterface;
20 19
 use Sylius\Component\Core\OrderProcessing\OrderShipmentProcessor;
20
+use Sylius\Component\Order\Processor\OrderProcessorInterface;
21 21
 use Sylius\Component\Resource\Factory\FactoryInterface;
22 22
 use Sylius\Component\Shipping\Model\ShippingMethodInterface;
23 23
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
Please login to merge, or discard this patch.