@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\ProductBundle\Validator\Constraint\ProductVariantCombination; |
17 | 17 | use Sylius\Bundle\ProductBundle\Validator\ProductVariantCombinationValidator; |
18 | 18 | use Sylius\Component\Product\Checker\ProductVariantsParityCheckerInterface; |
19 | -use Sylius\Component\Product\Model\ProductOptionValueInterface; |
|
20 | 19 | use Sylius\Component\Product\Model\ProductInterface; |
21 | 20 | use Sylius\Component\Product\Model\ProductVariantInterface; |
22 | 21 | use Symfony\Component\Validator\ConstraintValidator; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace spec\Sylius\Bundle\ResourceBundle\Controller; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Sylius\Bundle\ResourceBundle\Controller\ParametersParser; |
|
16 | 15 | use Sylius\Bundle\ResourceBundle\Controller\ParametersParserInterface; |
17 | 16 | use Symfony\Component\DependencyInjection\ContainerInterface; |
18 | 17 | use Symfony\Component\ExpressionLanguage\ExpressionLanguage; |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactory; |
18 | 18 | use Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactoryInterface; |
19 | 19 | use Sylius\Component\Resource\Model\ResourceInterface; |
20 | -use Symfony\Component\Form\Extension\Core\Type\TextType; |
|
21 | 20 | use Symfony\Component\Form\FormFactoryInterface; |
22 | 21 | use Symfony\Component\Form\FormInterface; |
23 | 22 |
@@ -11,12 +11,12 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test; |
13 | 13 | |
14 | -use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
15 | -use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper; |
|
16 | 14 | use PhpSpec\ObjectBehavior; |
17 | 15 | use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProcessorInterface; |
18 | 16 | use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManager; |
19 | 17 | use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface; |
18 | +use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
19 | +use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @author Kamil Kokot <[email protected]> |
@@ -14,14 +14,14 @@ |
||
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | 16 | use Prophecy\Argument; |
17 | -use Sylius\Bundle\UserBundle\Event\UserEvent; |
|
18 | 17 | use Sylius\Bundle\UserBundle\EventListener\UserLastLoginSubscriber; |
18 | +use Sylius\Bundle\UserBundle\Event\UserEvent; |
|
19 | 19 | use Sylius\Bundle\UserBundle\UserEvents; |
20 | +use Sylius\Component\User\Model\UserInterface; |
|
20 | 21 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
21 | 22 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
22 | 23 | use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; |
23 | 24 | use Symfony\Component\Security\Http\SecurityEvents; |
24 | -use Sylius\Component\User\Model\UserInterface; |
|
25 | 25 | |
26 | 26 | final class UserLastLoginSubscriberSpec extends ObjectBehavior |
27 | 27 | { |
@@ -11,8 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Addressing\Comparator; |
13 | 13 | |
14 | -use Sylius\Component\Addressing\Comparator\AddressComparator; |
|
15 | 14 | use PhpSpec\ObjectBehavior; |
15 | +use Sylius\Component\Addressing\Comparator\AddressComparator; |
|
16 | 16 | use Sylius\Component\Addressing\Comparator\AddressComparatorInterface; |
17 | 17 | use Sylius\Component\Addressing\Model\AddressInterface; |
18 | 18 |
@@ -12,18 +12,17 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Core\Cart\Context; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Sylius\Component\Core\Model\AddressInterface; |
|
16 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
17 | -use Sylius\Component\Order\Context\CartContextInterface; |
|
18 | -use Sylius\Component\Order\Context\CartNotFoundException; |
|
19 | 15 | use Sylius\Component\Channel\Context\ChannelNotFoundException; |
20 | 16 | use Sylius\Component\Core\Cart\Context\ShopBasedCartContext; |
21 | 17 | use Sylius\Component\Core\Context\ShopperContextInterface; |
18 | +use Sylius\Component\Core\Model\AddressInterface; |
|
22 | 19 | use Sylius\Component\Core\Model\ChannelInterface; |
23 | 20 | use Sylius\Component\Core\Model\CustomerInterface; |
24 | 21 | use Sylius\Component\Core\Model\OrderInterface; |
25 | -use Sylius\Component\Currency\Context\CurrencyNotFoundException; |
|
22 | +use Sylius\Component\Currency\Model\CurrencyInterface; |
|
26 | 23 | use Sylius\Component\Locale\Context\LocaleNotFoundException; |
24 | +use Sylius\Component\Order\Context\CartContextInterface; |
|
25 | +use Sylius\Component\Order\Context\CartNotFoundException; |
|
27 | 26 | |
28 | 27 | /** |
29 | 28 | * @author Arkadiusz Krakowiak <[email protected]> |
@@ -18,8 +18,8 @@ |
||
18 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
19 | 19 | use Sylius\Component\Core\Model\CustomerInterface; |
20 | 20 | use Sylius\Component\Currency\Context\CurrencyContextInterface; |
21 | -use Sylius\Component\Locale\Context\LocaleContextInterface; |
|
22 | 21 | use Sylius\Component\Customer\Context\CustomerContextInterface; |
22 | +use Sylius\Component\Locale\Context\LocaleContextInterface; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -4,8 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use PhpSpec\ObjectBehavior; |
6 | 6 | use Sylius\Component\Channel\Model\ChannelInterface; |
7 | -use Sylius\Component\Core\Currency\SessionBasedCurrencyStorage; |
|
8 | 7 | use Sylius\Component\Core\Currency\CurrencyStorageInterface; |
8 | +use Sylius\Component\Core\Currency\SessionBasedCurrencyStorage; |
|
9 | 9 | use Sylius\Component\Currency\Context\CurrencyNotFoundException; |
10 | 10 | use Symfony\Component\HttpFoundation\Session\SessionInterface; |
11 | 11 |