@@ -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; |
@@ -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]> |
@@ -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 | |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Component\Product\Model\ProductInterface; |
| 15 | 15 | use Sylius\Component\Product\Model\ProductVariantInterface; |
| 16 | -use Webmozart\Assert\Assert; |
|
| 17 | 16 | |
| 18 | 17 | /** |
| 19 | 18 | * @author Łukasz Chruściel <[email protected]> |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | -use Webmozart\Assert\Assert; |
|
| 17 | 16 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
| 18 | 17 | use Sylius\Component\Resource\Model\TimestampableTrait; |
| 19 | 18 | use Sylius\Component\Resource\Model\ToggleableTrait; |
| 20 | 19 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 20 | +use Webmozart\Assert\Assert; |
|
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -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 @@ discard block |
||
| 16 | 16 | use Behat\Mink\Element\NodeElement; |
| 17 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
| 18 | 18 | use Sylius\Behat\Service\SharedStorageInterface; |
| 19 | -use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
|
| 20 | 19 | use Sylius\Component\Core\Formatter\StringInflector; |
| 21 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
| 22 | 21 | use Sylius\Component\Core\Model\ChannelPricingInterface; |
@@ -34,7 +33,6 @@ discard block |
||
| 34 | 33 | use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
| 35 | 34 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 36 | 35 | use Sylius\Component\Resource\Model\TranslationInterface; |
| 37 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
| 38 | 36 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
| 39 | 37 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 40 | 38 | use Symfony\Component\HttpFoundation\File\UploadedFile; |