@@ -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 | { |
@@ -18,15 +18,15 @@ |
||
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; |
|
21 | 24 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
22 | 25 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
23 | 26 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
24 | 27 | use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface; |
25 | 28 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
26 | 29 | 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 | 30 | use Sylius\Behat\Service\NotificationCheckerInterface; |
31 | 31 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
32 | 32 | use Sylius\Behat\Service\SharedStorageInterface; |
@@ -16,16 +16,15 @@ |
||
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\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository; |
20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
21 | 22 | use Sylius\Component\Core\Model\CustomerInterface; |
22 | -use Sylius\Component\Core\Model\Order; |
|
23 | 23 | use Sylius\Component\Core\Model\OrderInterface; |
24 | 24 | use Sylius\Component\Core\Model\PromotionCouponInterface; |
25 | 25 | use Sylius\Component\Core\OrderCheckoutStates; |
26 | 26 | use Sylius\Component\Core\OrderPaymentStates; |
27 | 27 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
28 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
29 | 28 | |
30 | 29 | class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface |
31 | 30 | { |
@@ -15,13 +15,8 @@ |
||
15 | 15 | |
16 | 16 | use ApiPlatform\Core\DataPersister\ContextAwareDataPersisterInterface; |
17 | 17 | use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException; |
18 | -use Sylius\Bundle\ApiBundle\Exception\CannotRemoveCurrentlyLoggedInUser; |
|
19 | 18 | use Sylius\Bundle\ApiBundle\Exception\ShippingMethodCannotBeRemoved; |
20 | -use Sylius\Component\Core\Model\AdminUserInterface; |
|
21 | 19 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
22 | -use Sylius\Component\User\Model\UserInterface; |
|
23 | -use Sylius\Component\User\Security\PasswordUpdaterInterface; |
|
24 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
|
25 | 20 | |
26 | 21 | final class ShippingMethodDataPersister implements ContextAwareDataPersisterInterface |
27 | 22 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Behat\Client\ApiClientInterface; |
19 | 19 | use Sylius\Behat\Client\ResponseCheckerInterface; |
20 | 20 | use Sylius\Behat\Service\SharedStorageInterface; |
21 | -use Sylius\Component\Core\Formatter\StringInflector; |
|
22 | 21 | use Sylius\Component\Core\Model\AdminUserInterface; |
23 | 22 | use Sylius\Component\Core\Model\ChannelInterface; |
24 | 23 | use Sylius\Component\Core\Model\ProductInterface; |