@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sylius\Component\Resource\Metadata\MetadataInterface; |
18 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
19 | 19 | use Symfony\Component\DependencyInjection\Definition; |
20 | -use Symfony\Component\DependencyInjection\Parameter; |
|
21 | 20 | use Symfony\Component\DependencyInjection\Reference; |
22 | 21 | |
23 | 22 | /** |
@@ -14,31 +14,30 @@ |
||
14 | 14 | use Behat\Behat\Context\Context; |
15 | 15 | use Doctrine\Common\Persistence\ObjectManager; |
16 | 16 | use SM\Factory\FactoryInterface as StateMachineFactoryInterface; |
17 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
17 | 18 | use Sylius\Component\Core\Currency\CurrencyStorageInterface; |
19 | +use Sylius\Component\Core\Model\AddressInterface; |
|
18 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
19 | 21 | use Sylius\Component\Core\Model\ChannelPricingInterface; |
20 | -use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
21 | -use Sylius\Component\Core\OrderCheckoutTransitions; |
|
22 | -use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
23 | -use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
24 | -use Sylius\Component\Core\Model\AddressInterface; |
|
25 | 22 | use Sylius\Component\Core\Model\OrderInterface; |
26 | 23 | use Sylius\Component\Core\Model\OrderItemInterface; |
27 | 24 | use Sylius\Component\Core\Model\ProductInterface; |
28 | 25 | use Sylius\Component\Core\Model\ProductVariantInterface; |
26 | +use Sylius\Component\Core\Model\PromotionCouponInterface; |
|
29 | 27 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
28 | +use Sylius\Component\Core\OrderCheckoutTransitions; |
|
30 | 29 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
31 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
30 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
31 | +use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
|
32 | 32 | use Sylius\Component\Order\OrderTransitions; |
33 | -use Sylius\Component\Payment\Model\PaymentInterface; |
|
33 | +use Sylius\Component\Order\Processor\OrderProcessorInterface; |
|
34 | 34 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
35 | 35 | use Sylius\Component\Payment\PaymentTransitions; |
36 | +use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
36 | 37 | use Sylius\Component\Resource\Factory\FactoryInterface; |
37 | 38 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
38 | 39 | use Sylius\Component\Shipping\ShipmentTransitions; |
39 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
40 | 40 | use Sylius\Component\User\Model\UserInterface; |
41 | -use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
|
42 | 41 | |
43 | 42 | /** |
44 | 43 | * @author Łukasz Chruściel <[email protected]> |
@@ -13,8 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Mink\Driver\Selenium2Driver; |
15 | 15 | use Behat\Mink\Exception\ElementNotFoundException; |
16 | -use Sylius\Behat\Behaviour\ChoosesCalculator; |
|
17 | -use Sylius\Behat\Behaviour\SpecifiesItsAmount; |
|
18 | 16 | use Sylius\Behat\Behaviour\SpecifiesItsCode; |
19 | 17 | use Sylius\Behat\Page\Admin\Crud\CreatePage as BaseCreatePage; |
20 | 18 | use Sylius\Component\Core\Formatter\StringInflector; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | 18 | use Symfony\Component\DependencyInjection\Parameter; |
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use Sylius\Bundle\PromotionBundle\Form\Type\Action\FixedDiscountConfigurationType; |
15 | 15 | use Sylius\Component\Core\Distributor\ProportionalIntegerDistributorInterface; |
16 | 16 | use Sylius\Component\Core\Promotion\Applicator\UnitsPromotionAdjustmentsApplicatorInterface; |
17 | -use Sylius\Component\Currency\Converter\CurrencyConverterInterface; |
|
18 | 17 | use Sylius\Component\Promotion\Model\PromotionInterface; |
19 | 18 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
20 | 19 | use Webmozart\Assert\Assert; |
@@ -13,7 +13,7 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\ShipmentInterface; |
15 | 15 | use Sylius\Component\Shipping\Calculator\CalculatorInterface; |
16 | -use Sylius\Component\Shipping\Model\ShipmentInterface as BaseShipmentInterface; |
|
16 | +use Sylius\Component\Shipping\Model\ShipmentInterface as BaseShipmentInterface; |
|
17 | 17 | use Webmozart\Assert\Assert; |
18 | 18 | |
19 | 19 | /** |
@@ -16,15 +16,15 @@ |
||
16 | 16 | use Sylius\Behat\Page\Shop\Account\DashboardPageInterface; |
17 | 17 | use Sylius\Behat\Page\Shop\Account\LoginPageInterface; |
18 | 18 | use Sylius\Behat\Page\Shop\Account\ProfileUpdatePageInterface; |
19 | -use Sylius\Behat\Page\Shop\Account\VerificationPageInterface; |
|
20 | 19 | use Sylius\Behat\Page\Shop\Account\RegisterPageInterface; |
20 | +use Sylius\Behat\Page\Shop\Account\VerificationPageInterface; |
|
21 | 21 | use Sylius\Behat\Page\Shop\HomePageInterface; |
22 | 22 | use Sylius\Behat\Service\NotificationCheckerInterface; |
23 | 23 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
24 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
25 | 24 | use Sylius\Behat\Service\SecurityServiceInterface; |
26 | -use Sylius\Component\Core\Model\ShopUserInterface; |
|
25 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
27 | 26 | use Sylius\Component\Core\Model\CustomerInterface; |
27 | +use Sylius\Component\Core\Model\ShopUserInterface; |
|
28 | 28 | use Webmozart\Assert\Assert; |
29 | 29 | |
30 | 30 | /** |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\CoreBundle\Fixture\Factory; |
13 | 13 | |
14 | -use Doctrine\Common\Persistence\ObjectManager; |
|
15 | 14 | use Sylius\Component\Core\Formatter\StringInflector; |
16 | 15 | use Sylius\Component\Core\Model\TaxonInterface; |
17 | 16 | use Sylius\Component\Locale\Model\LocaleInterface; |
@@ -14,9 +14,7 @@ |
||
14 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | -use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
|
18 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * @author Paweł Jędrzejewski <[email protected]> |