Completed
Push — scrutinizer/config ( 14e91e...f0c144 )
by Kamil
43:19
created
src/Sylius/Component/Core/spec/Model/OrderSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Core\Model;
13 13
 
14
-use Doctrine\Common\Collections\ArrayCollection;
15 14
 use Doctrine\Common\Collections\Collection;
16 15
 use PhpSpec\ObjectBehavior;
17 16
 use Sylius\Component\Channel\Model\ChannelInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Model/ProductSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,12 +13,10 @@
 block discarded – undo
13 13
 
14 14
 use Doctrine\Common\Collections\Collection;
15 15
 use PhpSpec\ObjectBehavior;
16
-use Sylius\Component\Addressing\Model\ZoneInterface;
17 16
 use Sylius\Component\Core\Model\ImageInterface;
18 17
 use Sylius\Component\Core\Model\Product;
19 18
 use Sylius\Component\Core\Model\ProductInterface;
20 19
 use Sylius\Component\Core\Model\ProductVariantInterface as VariantInterface;
21
-use Sylius\Component\Core\Model\ProductVariantInterface;
22 20
 use Sylius\Component\Core\Model\TaxonInterface;
23 21
 use Sylius\Component\Product\Model\Product as SyliusProduct;
24 22
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/OrderProcessing/InventoryHandlerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@  discard block
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use PhpSpec\ObjectBehavior;
16 16
 use SM\Factory\FactoryInterface as StateMachineFactoryInterface;
17
-use Sylius\Component\Order\Factory\OrderItemUnitFactoryInterface;
18 17
 use Sylius\Component\Core\Model\OrderInterface;
19 18
 use Sylius\Component\Core\Model\OrderItemInterface;
20 19
 use Sylius\Component\Core\Model\OrderItemUnitInterface;
@@ -22,6 +21,7 @@  discard block
 block discarded – undo
22 21
 use Sylius\Component\Core\OrderProcessing\InventoryHandlerInterface;
23 22
 use Sylius\Component\Inventory\InventoryUnitTransitions;
24 23
 use Sylius\Component\Inventory\Operator\InventoryOperatorInterface;
24
+use Sylius\Component\Order\Factory\OrderItemUnitFactoryInterface;
25 25
 use Sylius\Component\Resource\StateMachine\StateMachineInterface;
26 26
 
27 27
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/OrderProcessing/PaymentProcessorSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Core\Model\OrderInterface;
16
+use Sylius\Component\Core\Model\PaymentInterface;
16 17
 use Sylius\Component\Core\OrderProcessing\PaymentProcessorInterface;
17 18
 use Sylius\Component\Payment\Factory\PaymentFactoryInterface;
18
-use Sylius\Component\Core\Model\PaymentInterface;
19 19
 use Sylius\Component\Payment\Model\PaymentMethodInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Promotion/Action/AddProductActionSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Core\Promotion\Action;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
16 15
 use Sylius\Component\Core\Model\OrderInterface;
17 16
 use Sylius\Component\Core\Model\OrderItemInterface;
18 17
 use Sylius\Component\Core\Model\ProductVariantInterface;
18
+use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface;
19 19
 use Sylius\Component\Promotion\Action\PromotionActionInterface;
20 20
 use Sylius\Component\Promotion\Model\PromotionInterface;
21 21
 use Sylius\Component\Resource\Factory\FactoryInterface;
Please login to merge, or discard this patch.
Component/Core/spec/Promotion/Action/PercentageDiscountActionSpec.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.
Component/Core/spec/Promotion/Action/UnitPercentageDiscountActionSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Doctrine\Common\Collections\Collection;
15 15
 use PhpSpec\ObjectBehavior;
16
-use Prophecy\Argument;
17
-use Sylius\Component\Core\Distributor\IntegerDistributorInterface;
18 16
 use Sylius\Component\Core\Model\AdjustmentInterface;
19 17
 use Sylius\Component\Core\Model\OrderInterface;
20 18
 use Sylius\Component\Core\Model\OrderItemInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Promotion/Filter/TaxonFilterSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Core\Promotion\Filter;
13 13
 
14
-use Doctrine\Common\Collections\Collection;
15 14
 use PhpSpec\ObjectBehavior;
16 15
 use Sylius\Component\Core\Model\OrderItemInterface;
17 16
 use Sylius\Component\Core\Model\ProductInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/spec/Remover/AdjustmentsRemoverSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Core\Model\AdjustmentInterface;
16 16
 use Sylius\Component\Core\Model\OrderInterface;
17
-use Sylius\Component\Core\Model\OrderItemUnitInterface;
18 17
 use Sylius\Component\Core\Remover\AdjustmentsRemover;
19 18
 use Sylius\Component\Core\Remover\AdjustmentsRemoverInterface;
20 19
 
Please login to merge, or discard this patch.