@@ -15,6 +15,7 @@ discard block |
||
15 | 15 | use Behat\Gherkin\Node\TableNode; |
16 | 16 | use Behat\Mink\Element\NodeElement; |
17 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
18 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
18 | 19 | use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
19 | 20 | use Sylius\Component\Core\Formatter\StringInflector; |
20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
@@ -23,9 +24,7 @@ discard block |
||
23 | 24 | use Sylius\Component\Core\Model\ProductInterface; |
24 | 25 | use Sylius\Component\Core\Model\ProductTranslationInterface; |
25 | 26 | use Sylius\Component\Core\Model\ProductVariantInterface; |
26 | -use Sylius\Component\Core\Pricing\Calculators; |
|
27 | 27 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
28 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
29 | 28 | use Sylius\Component\Core\Uploader\ImageUploaderInterface; |
30 | 29 | use Sylius\Component\Product\Factory\ProductFactoryInterface; |
31 | 30 | use Sylius\Component\Product\Generator\SlugGeneratorInterface; |
@@ -34,11 +33,11 @@ discard block |
||
34 | 33 | use Sylius\Component\Product\Model\ProductOptionInterface; |
35 | 34 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
36 | 35 | use Sylius\Component\Product\Model\ProductVariantTranslationInterface; |
36 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
37 | 37 | use Sylius\Component\Resource\Factory\FactoryInterface; |
38 | -use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
|
39 | 38 | use Sylius\Component\Resource\Model\TranslationInterface; |
39 | +use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
|
40 | 40 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
41 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
42 | 41 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
43 | 42 | use Webmozart\Assert\Assert; |
44 | 43 |
@@ -16,9 +16,9 @@ |
||
16 | 16 | use Sylius\Behat\Service\SharedStorageInterface; |
17 | 17 | use Sylius\Bundle\CoreBundle\Fixture\Factory\ShippingMethodExampleFactory; |
18 | 18 | use Sylius\Component\Addressing\Model\Scope; |
19 | -use Sylius\Component\Core\Model\Scope as CoreScope; |
|
20 | 19 | use Sylius\Component\Addressing\Model\ZoneInterface; |
21 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
21 | +use Sylius\Component\Core\Model\Scope as CoreScope; |
|
22 | 22 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
23 | 23 | use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
24 | 24 | use Sylius\Component\Resource\Factory\FactoryInterface; |
@@ -16,20 +16,18 @@ |
||
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; |
29 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
30 | -use Sylius\Component\Core\Model\ProductInterface; |
|
31 | 29 | use Sylius\Behat\Service\SharedStorageInterface; |
32 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
30 | +use Sylius\Component\Core\Model\ProductInterface; |
|
33 | 31 | use Sylius\Component\Product\Model\ProductAssociationTypeInterface; |
34 | 32 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |
35 | 33 | use Webmozart\Assert\Assert; |
@@ -19,11 +19,9 @@ |
||
19 | 19 | use Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface; |
20 | 20 | use Sylius\Behat\Service\NotificationCheckerInterface; |
21 | 21 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
22 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
22 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
23 | 23 | use Sylius\Component\Core\Model\ProductInterface; |
24 | 24 | use Sylius\Component\Core\Model\ProductVariantInterface; |
25 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
26 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
27 | 25 | use Sylius\Component\Product\Resolver\DefaultProductVariantResolver; |
28 | 26 | use Webmozart\Assert\Assert; |
29 | 27 |
@@ -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 | /** |