@@ -22,7 +22,6 @@ |
||
22 | 22 | use Sylius\Component\Order\Model\OrderItemInterface; |
23 | 23 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
24 | 24 | use Sylius\Component\Order\Modifier\OrderModifierInterface; |
25 | -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
26 | 25 | use Symfony\Component\Form\FormFactoryInterface; |
27 | 26 | use Symfony\Component\HttpFoundation\RedirectResponse; |
28 | 27 | use Symfony\Component\HttpFoundation\Request; |
@@ -11,8 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\PromotionBundle\Form\Type; |
13 | 13 | |
14 | -use Sylius\Bundle\PromotionBundle\Form\EventListener\BuildPromotionRuleFormSubscriber; |
|
15 | -use Sylius\Bundle\PromotionBundle\Form\Type\Core\AbstractConfigurationType; |
|
16 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
17 | 15 | use Sylius\Component\Promotion\Checker\Rule\ItemTotalRuleChecker; |
18 | 16 | use Sylius\Component\Registry\ServiceRegistryInterface; |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Bundle\ResourceBundle\Doctrine\ODM\MongoDB; |
13 | 13 | |
14 | 14 | use Doctrine\MongoDB\Query\Builder as QueryBuilder; |
15 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
16 | 15 | use Sylius\Component\Resource\Repository\TranslatableRepositoryInterface; |
16 | +use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Doctrine ORM driver translatable entity repository. |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Sylius\Component\Resource\Metadata\RegistryInterface; |
22 | 22 | use Sylius\Component\Resource\Model\TranslatableInterface; |
23 | 23 | use Sylius\Component\Resource\Model\TranslationInterface; |
24 | -use Sylius\Component\Resource\Translation\Provider\TranslationLocaleProviderInterface; |
|
25 | 24 | use Sylius\Component\Resource\Translation\TranslatableEntityLocaleAssignerInterface; |
26 | 25 | use Symfony\Component\DependencyInjection\ContainerInterface; |
27 | 26 |
@@ -12,12 +12,12 @@ |
||
12 | 12 | namespace Sylius\Component\Core\Resolver; |
13 | 13 | |
14 | 14 | use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface; |
15 | -use Sylius\Component\Core\Model\Scope; |
|
16 | 15 | use Sylius\Component\Core\Model\OrderInterface; |
16 | +use Sylius\Component\Core\Model\Scope; |
|
17 | 17 | use Sylius\Component\Core\Model\ShipmentInterface; |
18 | +use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
18 | 19 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
19 | 20 | use Sylius\Component\Shipping\Model\ShippingSubjectInterface; |
20 | -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
21 | 21 | use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
22 | 22 | use Webmozart\Assert\Assert; |
23 | 23 |
@@ -14,16 +14,16 @@ |
||
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface; |
16 | 16 | use Sylius\Component\Addressing\Model\ZoneInterface; |
17 | -use Sylius\Component\Core\Model\Scope; |
|
18 | 17 | use Sylius\Component\Core\Model\AddressInterface; |
19 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
20 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
20 | +use Sylius\Component\Core\Model\Scope; |
|
21 | 21 | use Sylius\Component\Core\Model\ShipmentInterface; |
22 | 22 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
23 | +use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
23 | 24 | use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver; |
24 | 25 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
25 | 26 | use Sylius\Component\Shipping\Model\ShippingSubjectInterface; |
26 | -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
27 | 27 | use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
28 | 28 | |
29 | 29 | /** |
@@ -16,13 +16,13 @@ |
||
16 | 16 | use Sylius\Behat\NotificationType; |
17 | 17 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
18 | 18 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
19 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
19 | 20 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
20 | 21 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
21 | 22 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
22 | 23 | use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface; |
23 | 24 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
24 | 25 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
25 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
26 | 26 | use Sylius\Behat\Page\SymfonyPageInterface; |
27 | 27 | use Sylius\Behat\Service\NotificationCheckerInterface; |
28 | 28 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Sylius\Component\Core\Model\AddressInterface; |
16 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
17 | 17 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
18 | -use Sylius\Component\Payment\Model\PaymentMethodInterface; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -12,10 +12,10 @@ |
||
12 | 12 | namespace Sylius\Bundle\ApiBundle\Controller; |
13 | 13 | |
14 | 14 | use FOS\RestBundle\Decoder\DecoderProviderInterface; |
15 | -use Symfony\Component\HttpFoundation\Request; |
|
16 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
17 | 15 | use OAuth2\OAuth2; |
18 | 16 | use OAuth2\OAuth2ServerException; |
17 | +use Symfony\Component\HttpFoundation\ParameterBag; |
|
18 | +use Symfony\Component\HttpFoundation\Request; |
|
19 | 19 | use Symfony\Component\HttpFoundation\Response; |
20 | 20 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
21 | 21 |