@@ -14,13 +14,11 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\FixturesBundle\Loader; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\AfterFixtureListenerInterface; |
| 20 | 19 | use Sylius\Bundle\FixturesBundle\Listener\BeforeFixtureListenerInterface; |
| 21 | 20 | use Sylius\Bundle\FixturesBundle\Listener\FixtureEvent; |
| 22 | 21 | use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface; |
| 23 | -use Sylius\Bundle\FixturesBundle\Loader\HookableFixtureLoader; |
|
| 24 | 22 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 25 | 23 | |
| 26 | 24 | /** |
@@ -14,11 +14,9 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\FixturesBundle\Loader; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\FixturesBundle\Listener\AfterSuiteListenerInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\BeforeSuiteListenerInterface; |
| 20 | 19 | use Sylius\Bundle\FixturesBundle\Listener\SuiteEvent; |
| 21 | -use Sylius\Bundle\FixturesBundle\Loader\HookableSuiteLoader; |
|
| 22 | 20 | use Sylius\Bundle\FixturesBundle\Loader\SuiteLoaderInterface; |
| 23 | 21 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 24 | 22 | |
@@ -14,10 +14,8 @@ |
||
| 14 | 14 | namespace spec\Sylius\Bundle\FixturesBundle\Loader; |
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface; |
| 20 | -use Sylius\Bundle\FixturesBundle\Loader\SuiteLoader; |
|
| 21 | 19 | use Sylius\Bundle\FixturesBundle\Loader\SuiteLoaderInterface; |
| 22 | 20 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
| 23 | 21 | |
@@ -15,12 +15,10 @@ |
||
| 15 | 15 | |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | 17 | use PhpSpec\Wrapper\Collaborator; |
| 18 | -use Prophecy\Argument; |
|
| 19 | 18 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
| 20 | 19 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureRegistryInterface; |
| 21 | 20 | use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface; |
| 22 | 21 | use Sylius\Bundle\FixturesBundle\Listener\ListenerRegistryInterface; |
| 23 | -use Sylius\Bundle\FixturesBundle\Suite\SuiteFactory; |
|
| 24 | 22 | use Sylius\Bundle\FixturesBundle\Suite\SuiteFactoryInterface; |
| 25 | 23 | use Symfony\Component\Config\Definition\Processor; |
| 26 | 24 | |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Sylius\Bundle\UserBundle\Form\Type\UserRequestPasswordResetType; |
| 24 | 24 | use Sylius\Bundle\UserBundle\Form\Type\UserResetPasswordType; |
| 25 | 25 | use Sylius\Bundle\UserBundle\UserEvents; |
| 26 | -use Sylius\Component\Resource\Model\ResourceInterface; |
|
| 27 | 26 | use Sylius\Component\User\Model\UserInterface; |
| 28 | 27 | use Sylius\Component\User\Security\Generator\GeneratorInterface; |
| 29 | 28 | use Symfony\Component\EventDispatcher\GenericEvent; |
@@ -13,9 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\OrderBundle\Controller; |
| 15 | 15 | |
| 16 | -use Doctrine\ORM\EntityManager; |
|
| 17 | 16 | use FOS\RestBundle\View\View; |
| 18 | -use Payum\Core\Registry\RegistryInterface; |
|
| 19 | 17 | use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration; |
| 20 | 18 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 21 | 19 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
@@ -25,11 +23,9 @@ discard block |
||
| 25 | 23 | use Sylius\Component\Resource\ResourceActions; |
| 26 | 24 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 27 | 25 | use Symfony\Component\EventDispatcher\GenericEvent; |
| 28 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 29 | 26 | use Symfony\Component\HttpFoundation\Request; |
| 30 | 27 | use Symfony\Component\HttpFoundation\Response; |
| 31 | 28 | use Symfony\Component\HttpKernel\Exception\HttpException; |
| 32 | -use Webmozart\Assert\Assert; |
|
| 33 | 29 | |
| 34 | 30 | class OrderController extends ResourceController |
| 35 | 31 | { |
@@ -15,12 +15,11 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
| 17 | 17 | use Doctrine\Common\Collections\Collection; |
| 18 | -use Sylius\Component\Attribute\Model\AttributeInterface; |
|
| 19 | -use Webmozart\Assert\Assert; |
|
| 20 | 18 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
| 21 | 19 | use Sylius\Component\Resource\Model\TimestampableTrait; |
| 22 | 20 | use Sylius\Component\Resource\Model\ToggleableTrait; |
| 23 | 21 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 22 | +use Webmozart\Assert\Assert; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * @author Paweł Jędrzejewski <[email protected]> |