@@ -11,9 +11,9 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\CoreBundle\EventListener; |
13 | 13 | |
14 | +use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
14 | 15 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
15 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
16 | -use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
17 | 17 | use Symfony\Component\EventDispatcher\GenericEvent; |
18 | 18 | |
19 | 19 | /** |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Fixture; |
13 | 13 | |
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | -use Sylius\Component\Addressing\Factory\ZoneFactoryInterface; |
|
16 | 15 | use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture; |
16 | +use Sylius\Component\Addressing\Factory\ZoneFactoryInterface; |
|
17 | 17 | use Sylius\Component\Addressing\Model\CountryInterface; |
18 | 18 | use Sylius\Component\Addressing\Model\ProvinceInterface; |
19 | 19 | use Sylius\Component\Addressing\Model\ZoneInterface; |
@@ -14,9 +14,9 @@ |
||
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | 15 | use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
16 | 16 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
17 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
17 | 18 | use Sylius\Component\Review\Model\ReviewableInterface; |
18 | 19 | use Sylius\Component\Review\Model\ReviewerInterface; |
19 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @author Grzegorz Sadowski <[email protected]> |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use PhpSpec\Wrapper\Collaborator; |
16 | -use Prophecy\Argument; |
|
17 | 16 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
18 | 17 | use Sylius\Bundle\FixturesBundle\Suite\Suite; |
19 | 18 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | -use Symfony\Component\DependencyInjection\Reference; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
17 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
18 | 18 | use Symfony\Component\Form\FormView; |
19 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
20 | 19 | use Symfony\Component\HttpFoundation\Request; |
21 | 20 | use Symfony\Component\HttpFoundation\Response; |
22 | 21 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
@@ -14,8 +14,8 @@ |
||
14 | 14 | use Sylius\Component\Addressing\Model\ZoneInterface; |
15 | 15 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
16 | 16 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 17 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Product\Model\ProductInterface; |
15 | 15 | use Sylius\Component\Product\Model\ProductVariantInterface; |
16 | -use Webmozart\Assert\Assert; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @author Łukasz Chruściel <[email protected]> |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | -use Symfony\Component\DependencyInjection\Reference; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Paweł Jędrzejewski <[email protected]> |