@@ -16,12 +16,12 @@ |
||
16 | 16 | use Doctrine\ORM\EntityManager; |
17 | 17 | use Doctrine\ORM\Mapping; |
18 | 18 | use Doctrine\ORM\QueryBuilder; |
19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
19 | 20 | use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository as BaseProductRepository; |
20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
21 | 22 | use Sylius\Component\Core\Model\ProductInterface; |
22 | 23 | use Sylius\Component\Core\Model\TaxonInterface; |
23 | 24 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
24 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
25 | 25 | |
26 | 26 | class ProductRepository extends BaseProductRepository implements ProductRepositoryInterface |
27 | 27 | { |
@@ -14,8 +14,8 @@ |
||
14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
15 | 15 | |
16 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | |
20 | 20 | class TaxRateResolver implements TaxRateResolverInterface |
21 | 21 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | namespace Sylius\Behat\Page\Admin\Product; |
15 | 15 | |
16 | 16 | use Sylius\Behat\Page\Admin\Crud\IndexPageInterface as CrudIndexPageInterface; |
17 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
18 | 17 | |
19 | 18 | interface IndexPageInterface extends CrudIndexPageInterface |
20 | 19 | { |
@@ -14,10 +14,10 @@ |
||
14 | 14 | namespace Sylius\Bundle\AddressingBundle\Twig; |
15 | 15 | |
16 | 16 | use Sylius\Component\Addressing\Model\CountryInterface; |
17 | +use Symfony\Component\Intl\Countries; |
|
17 | 18 | use Symfony\Component\Intl\Exception\MissingResourceException; |
18 | 19 | use Twig\Extension\AbstractExtension; |
19 | 20 | use Twig\TwigFilter; |
20 | -use Symfony\Component\Intl\Countries; |
|
21 | 21 | |
22 | 22 | class CountryNameExtension extends AbstractExtension |
23 | 23 | { |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use Sylius\Component\Addressing\Model\CountryInterface; |
22 | 22 | use Sylius\Component\Addressing\Model\ProvinceInterface; |
23 | 23 | use Sylius\Component\Addressing\Model\ZoneInterface; |
24 | -use Sylius\Component\Addressing\Model\ZoneMember; |
|
25 | 24 | use Sylius\Component\Addressing\Model\ZoneMemberInterface; |
26 | 25 | use Webmozart\Assert\Assert; |
27 | 26 |
@@ -18,16 +18,16 @@ |
||
18 | 18 | use Sylius\Behat\NotificationType; |
19 | 19 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
20 | 20 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
21 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
22 | +use Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface as VariantCreatePageInterface; |
|
23 | +use Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface; |
|
24 | +use Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface as VariantUpdatePageInterface; |
|
21 | 25 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
22 | 26 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
23 | 27 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
24 | 28 | use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface; |
25 | 29 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
26 | 30 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
27 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
28 | -use Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface as VariantCreatePageInterface; |
|
29 | -use Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface; |
|
30 | -use Sylius\Behat\Page\Admin\ProductVariant\UpdatePageInterface as VariantUpdatePageInterface; |
|
31 | 31 | use Sylius\Behat\Service\NotificationCheckerInterface; |
32 | 32 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
33 | 33 | use Sylius\Behat\Service\SharedStorageInterface; |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use Sylius\Behat\Service\SlugGenerationHelper; |
23 | 23 | use Sylius\Component\Core\Model\TaxonInterface; |
24 | 24 | use Sylius\Component\Product\Model\ProductAssociationTypeInterface; |
25 | -use WebDriver\Exception; |
|
26 | 25 | use Webmozart\Assert\Assert; |
27 | 26 | |
28 | 27 | class CreateSimpleProductPage extends BaseCreatePage implements CreateSimpleProductPageInterface |
@@ -13,10 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Behat\Service; |
15 | 15 | |
16 | -use Behat\Mink\Driver\Selenium2Driver; |
|
17 | 16 | use Behat\Mink\Element\NodeElement; |
18 | 17 | use Behat\Mink\Session; |
19 | -use Webmozart\Assert\Assert; |
|
20 | 18 | |
21 | 19 | abstract class AutocompleteHelper |
22 | 20 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Behat\Mink\Element\NodeElement; |
18 | 18 | use Behat\Mink\Session; |
19 | 19 | use DMore\ChromeDriver\ChromeDriver; |
20 | -use Webmozart\Assert\Assert; |
|
21 | 20 | |
22 | 21 | abstract class SlugGenerationHelper |
23 | 22 | { |