@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Sylius\Component\Core\Model\AdminUserInterface; |
| 24 | 24 | use Sylius\Component\Core\Model\CustomerInterface; |
| 25 | 25 | use Sylius\Component\Core\Model\OrderInterface; |
| 26 | -use Sylius\Component\Core\OrderPaymentStates; |
|
| 27 | 26 | use Webmozart\Assert\Assert; |
| 28 | 27 | |
| 29 | 28 | /** |
@@ -12,10 +12,10 @@ discard block |
||
| 12 | 12 | namespace Sylius\Behat\Context\Setup; |
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | -use Behat\Behat\Tester\Exception\PendingException; |
|
| 16 | 15 | use Behat\Gherkin\Node\TableNode; |
| 17 | 16 | use Behat\Mink\Element\NodeElement; |
| 18 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
| 18 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
| 19 | 19 | use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
| 20 | 20 | use Sylius\Component\Core\Formatter\StringInflector; |
| 21 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
@@ -25,7 +25,6 @@ discard block |
||
| 25 | 25 | use Sylius\Component\Core\Model\ProductVariantInterface; |
| 26 | 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; |
@@ -33,9 +32,9 @@ discard block |
||
| 33 | 32 | use Sylius\Component\Product\Model\ProductAttributeValueInterface; |
| 34 | 33 | use Sylius\Component\Product\Model\ProductOptionInterface; |
| 35 | 34 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
| 35 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
| 36 | 36 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 37 | 37 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 38 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
| 39 | 38 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
| 40 | 39 | |
| 41 | 40 | /** |
@@ -11,13 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\MailerBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | -use Sylius\Bundle\MailerBundle\Form\Type\EmailType; |
|
| 15 | -use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
|
| 16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
| 17 | -use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
| 18 | -use Sylius\Component\Mailer\Model\Email; |
|
| 19 | -use Sylius\Component\Mailer\Model\EmailInterface; |
|
| 20 | -use Sylius\Component\Resource\Factory\Factory; |
|
| 21 | 14 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
| 22 | 15 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
| 23 | 16 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -11,9 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Component\Mailer\Model; |
| 13 | 13 | |
| 14 | -use Sylius\Component\Resource\Model\TimestampableTrait; |
|
| 15 | -use Sylius\Component\Resource\Model\ToggleableTrait; |
|
| 16 | - |
|
| 17 | 14 | /** |
| 18 | 15 | * @author Paweł Jędrzejewski <[email protected]> |
| 19 | 16 | */ |
@@ -11,11 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Component\Mailer\Model; |
| 13 | 13 | |
| 14 | -use Sylius\Component\Resource\Model\CodeAwareInterface; |
|
| 15 | -use Sylius\Component\Resource\Model\ResourceInterface; |
|
| 16 | -use Sylius\Component\Resource\Model\TimestampableInterface; |
|
| 17 | -use Sylius\Component\Resource\Model\ToggleableInterface; |
|
| 18 | - |
|
| 19 | 14 | /** |
| 20 | 15 | * @author Paweł Jędrzejewski <[email protected]> |
| 21 | 16 | */ |
@@ -15,17 +15,17 @@ |
||
| 15 | 15 | use Sylius\Behat\NotificationType; |
| 16 | 16 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
| 17 | 17 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
| 18 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 18 | 19 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
| 19 | 20 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
| 20 | 21 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
| 21 | 22 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
| 22 | 23 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
| 23 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 24 | 24 | use Sylius\Behat\Service\NotificationCheckerInterface; |
| 25 | 25 | use Sylius\Behat\Service\Resolver\CurrentProductPageResolverInterface; |
| 26 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
| 26 | 27 | use Sylius\Component\Core\Model\ChannelInterface; |
| 27 | 28 | use Sylius\Component\Core\Model\ProductInterface; |
| 28 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
| 29 | 29 | use Sylius\Component\Currency\Model\CurrencyInterface; |
| 30 | 30 | use Sylius\Component\Product\Model\ProductAssociationTypeInterface; |
| 31 | 31 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 37 | 37 | use Sylius\Component\Resource\ResourceActions; |
| 38 | 38 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 39 | -use Symfony\Component\DependencyInjection\ContainerAware; |
|
| 40 | 39 | use Symfony\Component\Form\Form; |
| 41 | 40 | use Symfony\Component\Form\FormView; |
| 42 | 41 | use Symfony\Component\HttpFoundation\Request; |
@@ -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]> |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Sylius\Component\Addressing\Model\ZoneInterface; |
| 18 | 18 | use Sylius\Component\Addressing\Repository\ZoneRepositoryInterface; |
| 19 | 19 | use Sylius\Component\Core\Formatter\StringInflector; |
| 20 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
| 21 | 20 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
| 22 | 21 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 23 | 22 | use Sylius\Component\Shipping\Calculator\DefaultCalculators; |