@@ -16,9 +16,9 @@ |
||
16 | 16 | use Sylius\Component\Attribute\AttributeType\AttributeTypeInterface; |
17 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
18 | 18 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
19 | -use Symfony\Component\Validator\Constraints\Length; |
|
20 | 19 | use Symfony\Component\Validator\ConstraintViolationInterface; |
21 | 20 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
21 | +use Symfony\Component\Validator\Constraints\Length; |
|
22 | 22 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
23 | 23 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
24 | 24 | use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |
@@ -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; |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Component\Core\Pricing\Calculators; |
17 | 17 | use Sylius\Component\Product\Model\Variant as BaseVariant; |
18 | 18 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
19 | -use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
|
20 | 19 | |
21 | 20 | /** |
22 | 21 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -17,8 +17,8 @@ |
||
17 | 17 | use Sylius\Component\Pricing\Model\PriceableInterface; |
18 | 18 | use Sylius\Component\Product\Model\VariantInterface as BaseVariantInterface; |
19 | 19 | use Sylius\Component\Shipping\Model\ShippableInterface; |
20 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
21 | 20 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
21 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Addressing\Model\ZoneInterface; |
15 | 15 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
17 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Promotion\Action\PromotionActionInterface; |
19 | 19 | use Sylius\Component\Promotion\Model\PromotionInterface; |
20 | 20 | use Sylius\Component\Promotion\Model\PromotionSubjectInterface; |
21 | -use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
|
22 | 21 | use Webmozart\Assert\Assert; |
23 | 22 | |
24 | 23 | /** |
@@ -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; |