Completed
Push — scrutinizer/config ( 14e91e...f0c144 )
by Kamil
43:19
created
src/Sylius/Component/Product/Model/Variant.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\Component\Product\Model;
13 13
 
14 14
 use Sylius\Component\Variation\Model\Variant as BaseVariant;
15
-use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface;
16 15
 
17 16
 /**
18 17
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Product/spec/Model/ProductSpec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,10 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Product\Model;
13 13
 
14
-use Doctrine\Common\Collections\ArrayCollection;
15 14
 use Doctrine\Common\Collections\Collection;
16 15
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18 16
 use Sylius\Component\Association\Model\AssociableInterface;
19 17
 use Sylius\Component\Product\Model\ArchetypeInterface;
20 18
 use Sylius\Component\Product\Model\AttributeValueInterface;
Please login to merge, or discard this patch.
Sylius/Component/Promotion/spec/Checker/PromotionEligibilityCheckerSpec.php 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -12,19 +12,11 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Promotion\Checker;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Component\Promotion\Checker\PromotionEligibilityChecker;
17 16
 use Sylius\Component\Promotion\Checker\PromotionEligibilityCheckerInterface;
18 17
 use Sylius\Component\Promotion\Checker\PromotionSubjectEligibilityCheckerInterface;
19
-use Sylius\Component\Promotion\Checker\RuleCheckerInterface;
20
-use Sylius\Component\Promotion\Model\CouponInterface;
21
-use Sylius\Component\Promotion\Model\PromotionCouponAwareSubjectInterface;
22 18
 use Sylius\Component\Promotion\Model\PromotionInterface;
23 19
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
24
-use Sylius\Component\Promotion\Model\RuleInterface;
25
-use Sylius\Component\Promotion\SyliusPromotionEvents;
26
-use Sylius\Component\Registry\ServiceRegistryInterface;
27
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
28 20
 
29 21
 /**
30 22
  * @mixin PromotionEligibilityChecker
Please login to merge, or discard this patch.
src/Sylius/Component/Registry/spec/PrioritizedServiceRegistrySpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,12 +14,11 @@
 block discarded – undo
14 14
 require_once __DIR__.'/Fixture/SampleServiceInterface.php';
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17
-use Prophecy\Argument;
18
-use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface;
19 17
 use Sylius\Component\Registry\NonExistingServiceException;
20 18
 use Sylius\Component\Registry\PrioritizedServiceRegistry;
21 19
 use Sylius\Component\Registry\PrioritizedServiceRegistryInterface;
22 20
 use Zend\Stdlib\PriorityQueue;
21
+use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface;
23 22
 
24 23
 /**
25 24
  * @mixin PrioritizedServiceRegistry
Please login to merge, or discard this patch.
src/Sylius/Component/Registry/spec/ServiceRegistrySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 require_once __DIR__.'/Fixture/SampleServiceInterface.php';
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17
-use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface;
18 17
 use Sylius\Component\Registry\ExistingServiceException;
19 18
 use Sylius\Component\Registry\NonExistingServiceException;
20 19
 use Sylius\Component\Registry\ServiceRegistryInterface;
20
+use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface;
21 21
 
22 22
 /**
23 23
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Factory/FactorySpec.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 spec\Sylius\Component\Resource\Factory;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use spec\Sylius\Component\Resource\Fixtures\SampleResource;
16 15
 use Sylius\Component\Resource\Factory\FactoryInterface;
16
+use spec\Sylius\Component\Resource\Fixtures\SampleResource;
17 17
 
18 18
 require_once __DIR__.'/../Fixtures/SampleResource.php';
19 19
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Factory/TranslatableFactorySpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Resource\Factory;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use spec\Sylius\Component\Resource\Fixtures\SampleNonTranslatableResource;
16
-use spec\Sylius\Component\Resource\Fixtures\SampleTranslatableResource;
17 15
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
18 16
 use Sylius\Component\Resource\Factory\FactoryInterface;
19 17
 use Sylius\Component\Resource\Factory\TranslatableFactoryInterface;
20 18
 use Sylius\Component\Resource\Provider\LocaleProviderInterface;
19
+use spec\Sylius\Component\Resource\Fixtures\SampleNonTranslatableResource;
20
+use spec\Sylius\Component\Resource\Fixtures\SampleTranslatableResource;
21 21
 
22 22
 require_once __DIR__.'/../Fixtures/SampleTranslatableResource.php';
23 23
 require_once __DIR__.'/../Fixtures/SampleNonTranslatableResource.php';
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Repository/InMemoryRepositorySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 use Pagerfanta\Pagerfanta;
15 15
 use PhpSpec\ObjectBehavior;
16
-use spec\Sylius\Component\Resource\Fixtures\SampleResourceInterface;
17 16
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
18 17
 use Sylius\Component\Resource\Exception\UnsupportedMethodException;
19 18
 use Sylius\Component\Resource\Model\ResourceInterface;
20 19
 use Sylius\Component\Resource\Repository\Exception\ExistingResourceException;
21 20
 use Sylius\Component\Resource\Repository\InMemoryRepository;
22 21
 use Sylius\Component\Resource\Repository\RepositoryInterface;
22
+use spec\Sylius\Component\Resource\Fixtures\SampleResourceInterface;
23 23
 
24 24
 require_once __DIR__.'/../Fixtures/SampleResourceInterface.php';
25 25
 
Please login to merge, or discard this patch.
src/Sylius/Component/Review/spec/Calculator/AverageRatingCalculatorSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use PhpSpec\ObjectBehavior;
16 16
 use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface;
17
-use Sylius\Component\Review\Model\ReviewableInterface;
18 17
 use Sylius\Component\Review\Model\ReviewInterface;
18
+use Sylius\Component\Review\Model\ReviewableInterface;
19 19
 
20 20
 /**
21 21
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.