@@ -18,8 +18,8 @@ |
||
18 | 18 | use Behat\Testwork\Environment\Handler\EnvironmentHandler; |
19 | 19 | use Behat\Testwork\Suite\Exception\SuiteConfigurationException; |
20 | 20 | use Behat\Testwork\Suite\Suite; |
21 | -use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment; |
|
22 | 21 | use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry; |
22 | +use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment; |
|
23 | 23 | use Symfony\Component\DependencyInjection\ContainerInterface; |
24 | 24 | |
25 | 25 | /** |
@@ -15,15 +15,15 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocatorInterface; |
16 | 16 | use Symfony\Component\Config\Resource\FileResource; |
17 | 17 | use Symfony\Component\Config\Util\XmlUtils; |
18 | +use Symfony\Component\DependencyInjection\Alias; |
|
18 | 19 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
19 | -use Symfony\Component\DependencyInjection\DefinitionDecorator; |
|
20 | 20 | use Symfony\Component\DependencyInjection\ContainerInterface; |
21 | -use Symfony\Component\DependencyInjection\Alias; |
|
22 | 21 | use Symfony\Component\DependencyInjection\Definition; |
23 | -use Symfony\Component\DependencyInjection\Loader\FileLoader; |
|
24 | -use Symfony\Component\DependencyInjection\Reference; |
|
22 | +use Symfony\Component\DependencyInjection\DefinitionDecorator; |
|
25 | 23 | use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
26 | 24 | use Symfony\Component\DependencyInjection\Exception\RuntimeException; |
25 | +use Symfony\Component\DependencyInjection\Loader\FileLoader; |
|
26 | +use Symfony\Component\DependencyInjection\Reference; |
|
27 | 27 | use Symfony\Component\ExpressionLanguage\Expression; |
28 | 28 | |
29 | 29 | /** |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Behat\Testwork\ServiceContainer\Extension; |
17 | 17 | use Behat\Testwork\ServiceContainer\ExtensionManager; |
18 | 18 | use Sylius\Behat\Extension\MultiContainerExtension\ContainerConfiguration; |
19 | -use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler; |
|
20 | 19 | use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry; |
20 | +use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler; |
|
21 | 21 | use Sylius\Behat\Extension\MultiContainerExtension\Loader\XmlFileLoader; |
22 | 22 | use Sylius\Behat\Extension\MultiContainerExtension\ScopeManipulator; |
23 | 23 | use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Page\Admin\Customer; |
13 | 13 | |
14 | 14 | use Sylius\Behat\Page\SymfonyPage; |
15 | -use Webmozart\Assert\Assert; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * @author Magdalena Banasiak <[email protected]> |
@@ -13,8 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Mink\Element\NodeElement; |
15 | 15 | use Behat\Mink\Session; |
16 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
17 | -use Symfony\Component\Routing\RequestContext; |
|
18 | 16 | use Symfony\Component\Routing\RouterInterface; |
19 | 17 | |
20 | 18 | /** |
@@ -22,8 +22,8 @@ |
||
22 | 22 | use Sylius\Bundle\AddressingBundle\Form\Type\ZoneType; |
23 | 23 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
24 | 24 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
25 | -use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
26 | 25 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
26 | +use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
27 | 27 | use Sylius\Component\Addressing\Model\Address; |
28 | 28 | use Sylius\Component\Addressing\Model\AddressInterface; |
29 | 29 | use Sylius\Component\Addressing\Model\Country; |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Sylius\Bundle\ReviewBundle\Doctrine\ORM\ReviewRepository; |
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; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\SettingsBundle\Manager\SettingsManagerInterface; |
17 | 17 | use Symfony\Component\HttpFoundation\Request; |
18 | 18 | use Symfony\Component\HttpFoundation\Response; |
19 | -use Symfony\Component\OptionsResolver\Exception\MissingOptionsException; |
|
20 | 19 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
21 | 20 | use Symfony\Component\Translation\TranslatorInterface; |
22 | 21 | use Symfony\Component\Validator\Exception\ValidatorException; |
@@ -12,9 +12,9 @@ |
||
12 | 12 | namespace Sylius\Component\Core\Resolver; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\ChannelInterface; |
15 | +use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
15 | 16 | use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException; |
16 | 17 | use Sylius\Component\Shipping\Model\ShipmentInterface; |
17 | -use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
18 | 18 | use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface; |
19 | 19 | use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface; |
20 | 20 | use Webmozart\Assert\Assert; |