@@ -14,7 +14,6 @@ |
||
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; |
@@ -15,9 +15,8 @@ |
||
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; |
@@ -13,7 +13,6 @@ |
||
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]> |
@@ -16,9 +16,9 @@ |
||
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; |
@@ -11,7 +11,6 @@ |
||
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; |
@@ -13,7 +13,6 @@ |
||
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; |
@@ -11,8 +11,6 @@ |
||
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; |
@@ -12,9 +12,9 @@ |
||
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; |
@@ -11,9 +11,8 @@ |
||
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 |