@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\SettingsBundle\Manager\SettingsManagerInterface; |
17 | 17 | use Symfony\Component\HttpFoundation\Request; |
18 | 18 | use Symfony\Component\HttpFoundation\Response; |
19 | -use Symfony\Component\OptionsResolver\Exception\MissingOptionsException; |
|
20 | 19 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
21 | 20 | use Symfony\Component\Translation\TranslatorInterface; |
22 | 21 | use Symfony\Component\Validator\Exception\ValidatorException; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\ThemeBundle\Locator; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ThemeBundle\Factory\FinderFactoryInterface; |
15 | -use Symfony\Component\Finder\Finder; |
|
16 | 15 | use Symfony\Component\Finder\SplFileInfo; |
17 | 16 | |
18 | 17 | /** |
@@ -13,11 +13,11 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
15 | 15 | use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
16 | +use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
16 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
17 | 18 | use Sylius\Bundle\UserBundle\Controller\CustomerController; |
18 | 19 | use Sylius\Bundle\UserBundle\Controller\UserController; |
19 | 20 | use Sylius\Bundle\UserBundle\Form\Type\CustomerGuestType; |
20 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType; |
|
21 | 21 | use Sylius\Bundle\UserBundle\Form\Type\CustomerProfileType; |
22 | 22 | use Sylius\Bundle\UserBundle\Form\Type\CustomerRegistrationType; |
23 | 23 | use Sylius\Bundle\UserBundle\Form\Type\CustomerSimpleRegistrationType; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Component\Core\Model; |
13 | 13 | |
14 | -use Sylius\Bundle\ThemeBundle\Model\ThemeInterface; |
|
15 | 14 | use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface; |
16 | 15 | use Sylius\Component\Currency\Model\CurrenciesAwareInterface; |
17 | 16 | use Sylius\Component\Currency\Model\CurrencyInterface; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | -use Sylius\Component\Addressing\Model\ZoneInterface; |
|
17 | 16 | use Sylius\Component\Channel\Model\ChannelInterface as BaseChannelInterface; |
18 | 17 | use Sylius\Component\Product\Model\Product as BaseProduct; |
19 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
@@ -11,8 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Component\Core\Model; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\Collection; |
|
15 | -use Sylius\Component\Addressing\Model\ZoneInterface; |
|
16 | 14 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
17 | 15 | use Sylius\Component\Metadata\Model\MetadataSubjectInterface; |
18 | 16 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
@@ -12,9 +12,9 @@ |
||
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\Shipping\Exception\UnresolvedDefaultShippingMethodException; |
16 | 17 | use Sylius\Component\Shipping\Model\ShipmentInterface; |
17 | -use Sylius\Component\Core\Model\ShipmentInterface as CoreShipmentInterface; |
|
18 | 18 | use Sylius\Component\Shipping\Repository\ShippingMethodRepositoryInterface; |
19 | 19 | use Sylius\Component\Shipping\Resolver\DefaultShippingMethodResolverInterface; |
20 | 20 | use Webmozart\Assert\Assert; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Core\Model; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
15 | 14 | use Doctrine\Common\Collections\Collection; |
16 | 15 | use PhpSpec\ObjectBehavior; |
17 | 16 | use Sylius\Component\Channel\Model\ChannelInterface; |
@@ -13,12 +13,10 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\Common\Collections\Collection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | -use Sylius\Component\Addressing\Model\ZoneInterface; |
|
17 | 16 | use Sylius\Component\Core\Model\ImageInterface; |
18 | 17 | use Sylius\Component\Core\Model\Product; |
19 | 18 | use Sylius\Component\Core\Model\ProductInterface; |
20 | 19 | use Sylius\Component\Core\Model\ProductVariantInterface as VariantInterface; |
21 | -use Sylius\Component\Core\Model\ProductVariantInterface; |
|
22 | 20 | use Sylius\Component\Core\Model\TaxonInterface; |
23 | 21 | use Sylius\Component\Product\Model\Product as SyliusProduct; |
24 | 22 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |