Completed
Push — scrutinizer ( 763ce5 )
by Kamil
46:15
created
src/Sylius/Behat/spec/Service/Mocker/MockerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Behat;
13 13
 
14 14
 use Mockery\MockInterface;
15
+use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
15 16
 use Payum\Core\Bridge\Guzzle\HttpClient;
16 17
 use PhpSpec\ObjectBehavior;
17
-use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
18 18
 use Sylius\Behat\Service\Mocker\MockerInterface;
19 19
 
20 20
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/DependencyInjection/Configuration.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\Bundle\ReviewBundle\Doctrine\ORM\ReviewRepository;
17 17
 use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType;
18 18
 use Sylius\Component\Resource\Factory\Factory;
19
-use Sylius\Component\Review\Model\ReviewerInterface;
20 19
 use Sylius\Component\Review\Model\ReviewInterface;
20
+use Sylius\Component\Review\Model\ReviewerInterface;
21 21
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
22 22
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
23 23
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/spec/AttributeType/TextAttributeTypeSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 use Sylius\Component\Attribute\AttributeType\AttributeTypeInterface;
17 17
 use Sylius\Component\Attribute\Model\AttributeInterface;
18 18
 use Sylius\Component\Attribute\Model\AttributeValueInterface;
19
-use Symfony\Component\Validator\Constraints\Length;
20 19
 use Symfony\Component\Validator\ConstraintViolationInterface;
21 20
 use Symfony\Component\Validator\ConstraintViolationListInterface;
21
+use Symfony\Component\Validator\Constraints\Length;
22 22
 use Symfony\Component\Validator\Context\ExecutionContextInterface;
23 23
 use Symfony\Component\Validator\Validator\ValidatorInterface;
24 24
 use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Resolver/DefaultShippingMethodResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace Sylius\Component\Core\Resolver;
13 13
 
14 14
 use Sylius\Component\Core\Model\ChannelInterface;
15
+use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
15 16
 use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException;
16 17
 use Sylius\Component\Shipping\Model\ShipmentInterface;
17
-use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface;
18 18
 use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface;
19 19
 use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface;
20 20
 use Webmozart\Assert\Assert;
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/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.
src/Sylius/Component/Review/spec/Model/ReviewSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Component\Review\Model;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
+use Sylius\Component\Review\Model\ReviewInterface;
15 16
 use Sylius\Component\Review\Model\ReviewableInterface;
16 17
 use Sylius\Component\Review\Model\ReviewerInterface;
17
-use Sylius\Component\Review\Model\ReviewInterface;
18 18
 
19 19
 /**
20 20
  * @author Mateusz Zalewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/spec/Resolver/TaxRateResolverSpec.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\Resource\Repository\RepositoryInterface;
16
-use Sylius\Component\Taxation\Model\TaxableInterface;
17 16
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxRateInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.