@@ -14,9 +14,9 @@ |
||
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | 15 | use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
16 | 16 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
17 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
17 | 18 | use Sylius\Component\Review\Model\ReviewableInterface; |
18 | 19 | use Sylius\Component\Review\Model\ReviewerInterface; |
19 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @author Grzegorz Sadowski <[email protected]> |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use PhpSpec\Wrapper\Collaborator; |
16 | -use Prophecy\Argument; |
|
17 | 16 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
18 | 17 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureRegistryInterface; |
19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use PhpSpec\Wrapper\Collaborator; |
16 | -use Prophecy\Argument; |
|
17 | 16 | use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface; |
18 | 17 | use Sylius\Bundle\FixturesBundle\Suite\Suite; |
19 | 18 | use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface; |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | -use Symfony\Component\DependencyInjection\Reference; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
17 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
18 | 18 | use Symfony\Component\Form\FormView; |
19 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
20 | 19 | use Symfony\Component\HttpFoundation\Request; |
21 | 20 | use Symfony\Component\HttpFoundation\Response; |
22 | 21 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Sylius\Component\Product\Model\ProductVariantInterface as BaseVariantInterface; |
17 | 17 | use Sylius\Component\Shipping\Model\ShippableInterface; |
18 | 18 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
19 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
20 | 19 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
20 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,8 +14,8 @@ |
||
14 | 14 | use Sylius\Component\Addressing\Model\ZoneInterface; |
15 | 15 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
16 | 16 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 17 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Component\Core\Model\OrderItemInterface; |
17 | 17 | use Sylius\Component\Promotion\Checker\Rule\RuleCheckerInterface; |
18 | 18 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
19 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
20 | 19 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |
21 | 20 | use Webmozart\Assert\Assert; |
22 | 21 |
@@ -12,10 +12,10 @@ |
||
12 | 12 | namespace Sylius\Component\Core\Resolver; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\ChannelInterface; |
15 | +use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
15 | 16 | use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
16 | 17 | use Sylius\Component\Shipping\Exception\UnresolvedDefaultShippingMethodException; |
17 | 18 | use Sylius\Component\Shipping\Model\ShipmentInterface; |
18 | -use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
19 | 19 | use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface; |
20 | 20 | use Webmozart\Assert\Assert; |
21 | 21 |