Completed
Push — scrutinizer ( 763ce5 )
by Kamil
46:15
created
Sylius/Component/Core/spec/OrderProcessing/ShippingChargesProcessorSpec.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 Prophecy\Argument;
16 16
 use Sylius\Component\Core\Model\AdjustmentInterface;
17 17
 use Sylius\Component\Core\Model\OrderInterface;
18
-use Sylius\Component\Order\Processor\OrderProcessorInterface;
19 18
 use Sylius\Component\Core\OrderProcessing\ShippingChargesProcessor;
19
+use Sylius\Component\Order\Processor\OrderProcessorInterface;
20 20
 use Sylius\Component\Resource\Factory\FactoryInterface;
21 21
 use Sylius\Component\Shipping\Calculator\DelegatingCalculatorInterface;
22 22
 use Sylius\Component\Shipping\Model\ShipmentInterface;
Please login to merge, or discard this patch.
Core/spec/Promotion/Action/PercentageDiscountPromotionActionCommandSpec.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\Addressing\Model\ZoneInterface;
18 18
 use Sylius\Component\Addressing\Repository\ZoneRepositoryInterface;
19 19
 use Sylius\Component\Core\Formatter\StringInflector;
20
-use Sylius\Component\Core\Model\ChannelInterface;
21 20
 use Sylius\Component\Core\Model\ShippingMethodInterface;
22 21
 use Sylius\Component\Resource\Factory\FactoryInterface;
23 22
 use Sylius\Component\Shipping\Calculator\DefaultCalculators;
Please login to merge, or discard this patch.
Core/spec/Promotion/Checker/Rule/ContainsProductRuleCheckerSpec.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -13,14 +13,10 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Core\Model\OrderInterface;
16
-use Sylius\Component\Core\Model\OrderItem;
17 16
 use Sylius\Component\Core\Model\OrderItemInterface;
18 17
 use Sylius\Component\Core\Model\ProductInterface;
19
-use Sylius\Component\Core\Model\ProductVariant;
20
-use Sylius\Component\Core\Model\ProductVariantInterface;
21 18
 use Sylius\Component\Core\Promotion\Checker\Rule\ContainsProductRuleChecker;
22 19
 use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface;
23
-use Sylius\Component\Promotion\Exception\UnsupportedTypeException;
24 20
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
25 21
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
26 22
 
Please login to merge, or discard this patch.
Core/spec/Promotion/Checker/Rule/TotalOfItemsFromTaxonRuleCheckerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use Sylius\Component\Promotion\Action\PromotionActionInterface;
25 25
 use Sylius\Component\Promotion\Model\PromotionInterface;
26 26
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
27
-use Sylius\Component\Resource\Exception\UnexpectedTypeException;
28 27
 
29 28
 /**
30 29
  * @mixin PercentageDiscountAction
Please login to merge, or discard this patch.
Sylius/Component/Core/spec/Provider/ProductVariantsPricesProviderSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Core\Calculator\ProductVariantPriceCalculatorInterface;
16 16
 use Sylius\Component\Core\Model\ChannelInterface;
17
-use Sylius\Component\Core\Provider\ProductVariantsPricesProvider;
18 17
 use Sylius\Component\Core\Model\ProductInterface;
19 18
 use Sylius\Component\Core\Model\ProductVariantInterface;
19
+use Sylius\Component\Core\Provider\ProductVariantsPricesProvider;
20 20
 use Sylius\Component\Core\Provider\ProductVariantsPricesProviderInterface;
21 21
 use Sylius\Component\Product\Model\ProductOptionValueInterface;
22 22
 
Please login to merge, or discard this patch.
Component/Core/spec/Resolver/ChannelBasedPaymentMethodsResolverSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Core\Resolver;
13 13
 
14
+use PhpSpec\ObjectBehavior;
14 15
 use Sylius\Component\Core\Model\ChannelInterface;
15 16
 use Sylius\Component\Core\Model\OrderInterface;
16 17
 use Sylius\Component\Core\Model\PaymentInterface;
17 18
 use Sylius\Component\Core\Repository\PaymentMethodRepositoryInterface;
18 19
 use Sylius\Component\Core\Resolver\ChannelBasedPaymentMethodsResolver;
19
-use PhpSpec\ObjectBehavior;
20
-use Sylius\Component\Payment\Model\PaymentMethodInterface;
21 20
 use Sylius\Component\Payment\Model\PaymentInterface as BasePaymentInterface;
21
+use Sylius\Component\Payment\Model\PaymentMethodInterface;
22 22
 use Sylius\Component\Payment\Resolver\PaymentMethodsResolverInterface;
23 23
 
24 24
 /**
Please login to merge, or discard this patch.
Component/Core/spec/Shipping/Calculator/PerUnitRateCalculatorSpec.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 spec\Sylius\Component\Core\Shipping\Calculator;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Sylius\Component\Channel\Context\ChannelContextInterface;
16 15
 use Sylius\Component\Core\Model\ChannelInterface;
17 16
 use Sylius\Component\Core\Model\OrderInterface;
18 17
 use Sylius\Component\Core\Model\ShipmentInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/StateResolver/CheckoutStateResolverSpec.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 spec\Sylius\Component\Payment\Resolver;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Payment\Model\PaymentInterface;
17 16
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
18 17
 use Sylius\Component\Payment\Resolver\MethodsResolverInterface;
Please login to merge, or discard this patch.
Sylius/Component/Core/spec/StateResolver/OrderPaymentStateResolverSpec.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.