@@ -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]> |
@@ -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; |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 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; |