Completed
Push — scrutinizer ( 763ce5 )
by Kamil
46:15
created
Payment/spec/Exception/UnresolvedDefaultPaymentMethodExceptionSpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Payment\Exception;
13 13
 
14
-use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException;
15 14
 use PhpSpec\ObjectBehavior;
16
-use Prophecy\Argument;
15
+use Sylius\Component\Payment\Exception\UnresolvedDefaultPaymentMethodException;
17 16
 
18 17
 /**
19 18
  * @author Anna Walasek <[email protected]>
Please login to merge, or discard this patch.
Sylius/Component/Payment/spec/Resolver/DefaultPaymentMethodResolverSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Sylius\Component\Core\Model\ShippingMethodInterface;
19 19
 use Sylius\Component\Core\Test\Services\SharedStorageInterface;
20 20
 use Sylius\Component\Resource\Factory\FactoryInterface;
21
-use Sylius\Component\Resource\Repository\RepositoryInterface;
22 21
 use Sylius\Component\Shipping\Calculator\DefaultCalculators;
23 22
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
24 23
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/spec/Resolver/PaymentMethodsResolverSpec.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.
src/Sylius/Component/Product/spec/Factory/ProductFactorySpec.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\Product\Factory\ProductFactory;
16 16
 use Sylius\Component\Product\Factory\ProductFactoryInterface;
17 17
 use Sylius\Component\Product\Model\ProductInterface;
18
-use Sylius\Component\Resource\Factory\FactoryInterface;
19 18
 use Sylius\Component\Product\Model\ProductVariantInterface;
19
+use Sylius\Component\Resource\Factory\FactoryInterface;
20 20
 
21 21
 /**
22 22
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Promotion/spec/Checker/Eligibility/PromotionRulesEligibilityCheckerSpec.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\Promotion\Checker\Eligibility\PromotionRulesEligibilityChecker;
17 17
 use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface;
18 18
 use Sylius\Component\Promotion\Model\PromotionInterface;
19
-use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
20 19
 use Sylius\Component\Promotion\Model\PromotionRuleInterface;
20
+use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
21 21
 use Sylius\Component\Registry\ServiceRegistryInterface;
22 22
 
23 23
 /**
Please login to merge, or discard this patch.
spec/Checker/Eligibility/PromotionSubjectCouponEligibilityCheckerSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Promotion\Checker\Eligibility\PromotionCouponEligibilityCheckerInterface;
16
-use Sylius\Component\Promotion\Checker\Eligibility\PromotionSubjectCouponEligibilityChecker;
17 16
 use Sylius\Component\Promotion\Checker\Eligibility\PromotionEligibilityCheckerInterface;
18
-use Sylius\Component\Promotion\Model\PromotionCouponInterface;
17
+use Sylius\Component\Promotion\Checker\Eligibility\PromotionSubjectCouponEligibilityChecker;
19 18
 use Sylius\Component\Promotion\Model\PromotionCouponAwarePromotionSubjectInterface;
19
+use Sylius\Component\Promotion\Model\PromotionCouponInterface;
20 20
 use Sylius\Component\Promotion\Model\PromotionInterface;
21 21
 use Sylius\Component\Promotion\Model\PromotionSubjectInterface;
22 22
 
Please login to merge, or discard this patch.
Component/Promotion/spec/Generator/PercentageGenerationPolicySpec.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 PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Promotion\Generator\GenerationPolicyInterface;
16
-use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInstructionInterface;
17 16
 use Sylius\Component\Promotion\Generator\PercentageGenerationPolicy;
17
+use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInstructionInterface;
18 18
 use Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface;
19 19
 
20 20
 /**
Please login to merge, or discard this patch.
Sylius/Component/Promotion/spec/Generator/PromotionCouponGeneratorSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
 use PhpSpec\ObjectBehavior;
16 16
 use Prophecy\Argument;
17 17
 use Sylius\Component\Promotion\Exception\FailedGenerationException;
18
-use Sylius\Component\Promotion\Generator\PromotionCouponGenerator;
19
-use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface;
20 18
 use Sylius\Component\Promotion\Generator\GenerationPolicyInterface;
19
+use Sylius\Component\Promotion\Generator\PromotionCouponGenerator;
21 20
 use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInstructionInterface;
21
+use Sylius\Component\Promotion\Generator\PromotionCouponGeneratorInterface;
22 22
 use Sylius\Component\Promotion\Model\PromotionCouponInterface;
23 23
 use Sylius\Component\Promotion\Model\PromotionInterface;
24 24
 use Sylius\Component\Promotion\Repository\PromotionCouponRepositoryInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/spec/Model/PromotionSpec.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 Doctrine\Common\Collections\Collection;
15 15
 use PhpSpec\ObjectBehavior;
16
+use Sylius\Component\Promotion\Model\Promotion;
16 17
 use Sylius\Component\Promotion\Model\PromotionActionInterface;
17 18
 use Sylius\Component\Promotion\Model\PromotionCouponInterface;
18
-use Sylius\Component\Promotion\Model\Promotion;
19 19
 use Sylius\Component\Promotion\Model\PromotionInterface;
20 20
 use Sylius\Component\Promotion\Model\PromotionRuleInterface;
21 21
 
Please login to merge, or discard this patch.