@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType; |
| 15 | 15 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
| 16 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 17 | 16 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
| 17 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 18 | 18 | use Symfony\Component\Form\FormBuilderInterface; |
| 19 | 19 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 20 | 20 | use Symfony\Component\Validator\Constraints\Valid; |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | namespace Sylius\Bundle\CoreBundle\Collector; |
| 15 | 15 | |
| 16 | 16 | use Sylius\Bundle\CoreBundle\Application\Kernel; |
| 17 | -use Sylius\Component\Channel\Context\ChannelNotFoundException; |
|
| 18 | 17 | use Sylius\Component\Core\Context\ShopperContextInterface; |
| 19 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
| 20 | 19 | use Sylius\Component\Currency\Context\CurrencyNotFoundException; |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
| 15 | 15 | |
| 16 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 17 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
| 17 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 18 | 18 | |
| 19 | 19 | interface ReviewableRatingUpdaterInterface |
| 20 | 20 | { |
@@ -19,8 +19,8 @@ |
||
| 19 | 19 | use Sylius\Component\Resource\Model\VersionedInterface; |
| 20 | 20 | use Sylius\Component\Shipping\Model\ShippableInterface; |
| 21 | 21 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
| 22 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 23 | 22 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 23 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 24 | 24 | |
| 25 | 25 | interface ProductVariantInterface extends |
| 26 | 26 | BaseVariantInterface, |
@@ -16,8 +16,8 @@ |
||
| 16 | 16 | use Sylius\Component\Addressing\Model\ZoneInterface; |
| 17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
| 18 | 18 | use Sylius\Component\Shipping\Model\ShippingMethodInterface as BaseShippingMethodInterface; |
| 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 | interface ShippingMethodInterface extends BaseShippingMethodInterface, TaxableInterface, ChannelsAwareInterface |
| 23 | 23 | { |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
| 18 | 18 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
| 19 | 19 | use Sylius\Component\Resource\Model\TranslationInterface; |
| 20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
| 21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 22 | 22 | |
| 23 | 23 | interface ProductInterface extends |
| 24 | 24 | BaseProductInterface, |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Doctrine\ORM\Event\LifecycleEventArgs; |
| 18 | 18 | use Doctrine\ORM\UnitOfWork; |
| 19 | 19 | use Mockery; |
| 20 | -use Mockery\Mock; |
|
| 21 | 20 | use Mockery\MockInterface; |
| 22 | 21 | use PhpSpec\ObjectBehavior; |
| 23 | 22 | use Sylius\Component\Attribute\AttributeType\SelectAttributeType; |
@@ -17,8 +17,8 @@ |
||
| 17 | 17 | use PhpSpec\ObjectBehavior; |
| 18 | 18 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
| 19 | 19 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
| 20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
| 21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 22 | 22 | |
| 23 | 23 | final class AverageRatingUpdaterSpec extends ObjectBehavior |
| 24 | 24 | { |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | use Sylius\Component\Resource\Model\VersionedInterface; |
| 27 | 27 | use Sylius\Component\Shipping\Model\ShippableInterface; |
| 28 | 28 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
| 29 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 30 | 29 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
| 30 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 31 | 31 | |
| 32 | 32 | final class ProductVariantSpec extends ObjectBehavior |
| 33 | 33 | { |