Completed
Branch master (429264)
by Kamil
37:02
created
Sylius/Bundle/CoreBundle/spec/EventListener/OrderPromotionListenerSpec.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -14,10 +14,7 @@
 block discarded – undo
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Prophecy\Argument;
16 16
 use Sylius\Bundle\CoreBundle\EventListener\OrderPromotionListener;
17
-use Sylius\Component\Core\Model\OrderInterface;
18
-use Sylius\Component\Promotion\Processor\PromotionProcessorInterface;
19 17
 use Sylius\Component\Promotion\SyliusPromotionEvents;
20
-use Sylius\Component\Resource\Exception\UnexpectedTypeException;
21 18
 use Symfony\Component\EventDispatcher\GenericEvent;
22 19
 use Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
23 20
 use Symfony\Component\HttpFoundation\Session\SessionInterface;
Please login to merge, or discard this patch.
Bundle/CoreBundle/spec/EventListener/OrderRecalculationListenerSpec.php 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -11,18 +11,10 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Bundle\CoreBundle\EventListener;
13 13
 
14
-use Doctrine\Common\Collections\ArrayCollection;
15 14
 use PhpSpec\ObjectBehavior;
16
-use Prophecy\Argument;
17
-use Sylius\Component\Core\Model\ChannelInterface;
18 15
 use Sylius\Component\Core\Model\OrderInterface;
19
-use Sylius\Component\Core\Model\OrderItemInterface;
20 16
 use Sylius\Component\Core\OrderProcessing\OrderRecalculatorInterface;
21
-use Sylius\Component\Core\OrderProcessing\OrderShipmentProcessorInterface;
22
-use Sylius\Component\Pricing\Calculator\DelegatingCalculatorInterface;
23
-use Sylius\Component\Pricing\Model\PriceableInterface;
24 17
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
25
-use Sylius\Component\User\Model\GroupableInterface;
26 18
 use Symfony\Component\EventDispatcher\GenericEvent;
27 19
 
28 20
 /**
Please login to merge, or discard this patch.
Bundle/CoreBundle/spec/EventListener/UserCartRecalculationListenerSpec.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\Bundle\CoreBundle\EventListener;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Cart\Model\CartInterface;
17 16
 use Sylius\Component\Cart\Provider\CartProviderInterface;
18 17
 use Sylius\Component\Core\Model\OrderInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Fixture/GeographicalFixtureSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use PhpSpec\ObjectBehavior;
7
-use Prophecy\Argument;
8 7
 use Sylius\Bundle\AddressingBundle\Factory\ZoneFactoryInterface;
9 8
 use Sylius\Bundle\CoreBundle\Fixture\GeographicalFixture;
10 9
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
Please login to merge, or discard this patch.
CoreBundle/spec/Form/DataTransformer/TaxonsToCodesTransformerSpec.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 Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18 17
 use Sylius\Component\Core\Model\TaxonInterface;
19 18
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
20 19
 use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface;
Please login to merge, or discard this patch.
spec/Form/EventSubscriber/AddPaymentMethodsFormSubscriberSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Prophecy\Argument;
16
-use spec\Sylius\Bundle\ArchetypeBundle\Form\Type\ArchetypeTypeSpec;
17 16
 use Sylius\Component\Payment\Model\PaymentInterface;
18 17
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
19 18
 use Symfony\Component\Form\FormEvent;
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/spec/Form/Type/Checkout/PaymentStepTypeSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\CoreBundle\Form\Type\Checkout;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16
-use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
17 15
 use Symfony\Component\Form\AbstractType;
18 16
 use Symfony\Component\Form\FormBuilderInterface;
19 17
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Form/Type/Checkout/ShippingTypeSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\CoreBundle\Form\Type\Checkout;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\CoreBundle\Form\Type\Checkout\ShippingType;
17
-use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface;
18 16
 use Symfony\Component\Form\AbstractType;
19 17
 use Symfony\Component\Form\FormBuilderInterface;
20 18
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Form/Type/LegacyProductTypeSpec.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 Prophecy\Argument;
16 16
 use Sylius\Bundle\CoreBundle\Form\Type\LegacyProductType;
17
-use Sylius\Bundle\ProductBundle\Form\Type\ProductType;
18 17
 use Sylius\Bundle\ResourceBundle\Form\EventSubscriber\AddCodeFormSubscriber;
19 18
 use Sylius\Component\Core\Model\Product;
20 19
 use Sylius\Component\User\Canonicalizer\CanonicalizerInterface;
Please login to merge, or discard this patch.