Completed
Push — scrutinizer/config ( 14e91e...f0c144 )
by Kamil
43:19
created
Bundle/UserBundle/spec/Authentication/AuthenticationFailureHandlerSpec.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\Bundle\UserBundle\Authentication\AuthenticationFailureHandler;
16 16
 use Symfony\Component\HttpFoundation\JsonResponse;
17
-use Symfony\Component\HttpFoundation\RedirectResponse;
18 17
 use Symfony\Component\HttpFoundation\Request;
19 18
 use Symfony\Component\HttpKernel\HttpKernelInterface;
20 19
 use Symfony\Component\Security\Core\Exception\AuthenticationException;
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/spec/Doctrine/ORM/UserRepositorySpec.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,9 +15,8 @@
 block discarded – undo
15 15
 use Doctrine\ORM\EntityManager;
16 16
 use Doctrine\ORM\Mapping\ClassMetadata;
17 17
 use Doctrine\ORM\Query;
18
-use Doctrine\ORM\Query\Expr;
19
-use Doctrine\ORM\Query\FilterCollection;
20 18
 use Doctrine\ORM\QueryBuilder;
19
+use Doctrine\ORM\Query\Expr;
21 20
 use Pagerfanta\Pagerfanta;
22 21
 use PhpSpec\ObjectBehavior;
23 22
 use Prophecy\Argument;
Please login to merge, or discard this patch.
src/Sylius/Bundle/VariationBundle/spec/Form/Type/VariantTypeSpec.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 Symfony\Component\Form\FormTypeInterface;
16
-use Symfony\Component\OptionsResolver\OptionsResolver;
17 16
 
18 17
 /**
19 18
  * @author Paweł Jędrzejewski <[email protected]>
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/Model/ChannelInterface.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 Sylius\Component\Core\Model;
13 13
 
14
-use Sylius\Bundle\ThemeBundle\Model\ThemeInterface;
15 14
 use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface;
16 15
 use Sylius\Component\Currency\Model\CurrenciesAwareInterface;
17 16
 use Sylius\Component\Currency\Model\CurrencyInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Product.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 Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16
-use Sylius\Component\Addressing\Model\ZoneInterface;
17 16
 use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface;
18 17
 use Sylius\Component\Product\Model\Product as BaseProduct;
19 18
 use Sylius\Component\Review\Model\ReviewInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductInterface.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Component\Core\Model;
13 13
 
14
-use Doctrine\Common\Collections\Collection;
15
-use Sylius\Component\Addressing\Model\ZoneInterface;
16 14
 use Sylius\Component\Channel\Model\ChannelsAwareInterface;
17 15
 use Sylius\Component\Metadata\Model\MetadataSubjectInterface;
18 16
 use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface;
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/Core/spec/Dashboard/DashboardStatisticsSpec.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\Core\Dashboard;
13 13
 
14
-use Sylius\Component\Core\Dashboard\DashboardStatistics;
15 14
 use PhpSpec\ObjectBehavior;
16
-use Prophecy\Argument;
15
+use Sylius\Component\Core\Dashboard\DashboardStatistics;
17 16
 
18 17
 /**
19 18
  * @mixin DashboardStatistics
Please login to merge, or discard this patch.