@@ -15,8 +15,8 @@ |
||
| 15 | 15 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
| 16 | 16 | use Sylius\Component\Product\Model\ProductVariantInterface; |
| 17 | 17 | use Symfony\Component\Form\DataTransformerInterface; |
| 18 | -use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
| 19 | 18 | use Symfony\Component\Form\Exception\TransformationFailedException; |
| 19 | +use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,13 +11,11 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\CoreBundle\Controller; |
| 13 | 13 | |
| 14 | -use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface; |
|
| 15 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 16 | 15 | use Sylius\Component\Core\Model\ProductTaxonInterface; |
| 17 | 16 | use Sylius\Component\Resource\ResourceActions; |
| 18 | 17 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 19 | 18 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 20 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 21 | 19 | use Symfony\Component\HttpFoundation\Request; |
| 22 | 20 | use Symfony\Component\HttpFoundation\Response; |
| 23 | 21 | use Symfony\Component\HttpKernel\Exception\HttpException; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use Sylius\Component\Core\OrderCheckoutTransitions; |
| 28 | 28 | use Sylius\Component\Core\OrderPaymentTransitions; |
| 29 | 29 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 30 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
| 31 | 30 | use Sylius\Component\Customer\Model\CustomerInterface; |
| 32 | 31 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
| 33 | 32 | use Sylius\Component\Order\OrderTransitions; |
@@ -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\Fixture\FixtureRegistryInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface; |
@@ -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]> |