@@ -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 | { |
@@ -13,11 +13,11 @@ |
||
13 | 13 | |
14 | 14 | namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test; |
15 | 15 | |
16 | -use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
17 | -use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper; |
|
18 | 16 | use PhpSpec\ObjectBehavior; |
19 | 17 | use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProcessorInterface; |
20 | 18 | use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface; |
19 | +use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory; |
|
20 | +use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper; |
|
21 | 21 | |
22 | 22 | final class TestThemeConfigurationManagerSpec extends ObjectBehavior |
23 | 23 | { |
@@ -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 | { |
@@ -15,11 +15,11 @@ |
||
15 | 15 | |
16 | 16 | use Pagerfanta\Pagerfanta; |
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | -use spec\Sylius\Component\Resource\Fixtures\SampleBookResourceInterface; |
|
19 | 18 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
20 | 19 | use Sylius\Component\Resource\Model\ResourceInterface; |
21 | 20 | use Sylius\Component\Resource\Repository\Exception\ExistingResourceException; |
22 | 21 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
22 | +use spec\Sylius\Component\Resource\Fixtures\SampleBookResourceInterface; |
|
23 | 23 | |
24 | 24 | require_once __DIR__ . '/../Fixtures/SampleBookResourceInterface.php'; |
25 | 25 |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | 18 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
19 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
20 | 19 | use Sylius\Component\Review\Model\ReviewInterface; |
20 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 21 | |
22 | 22 | final class AverageRatingCalculatorSpec extends ObjectBehavior |
23 | 23 | { |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
15 | 15 | |
16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
17 | 16 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
17 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 18 | |
19 | 19 | interface TaxRateResolverInterface |
20 | 20 | { |
@@ -16,6 +16,7 @@ discard block |
||
16 | 16 | use Doctrine\ORM\EntityManager; |
17 | 17 | use Doctrine\ORM\Mapping; |
18 | 18 | use Doctrine\ORM\QueryBuilder; |
19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
19 | 20 | use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository; |
20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
21 | 22 | use Sylius\Component\Core\Model\CustomerInterface; |
@@ -24,7 +25,6 @@ discard block |
||
24 | 25 | use Sylius\Component\Core\OrderCheckoutStates; |
25 | 26 | use Sylius\Component\Core\OrderPaymentStates; |
26 | 27 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
27 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
28 | 28 | |
29 | 29 | class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface |
30 | 30 | { |
@@ -16,12 +16,12 @@ |
||
16 | 16 | use Doctrine\ORM\EntityManager; |
17 | 17 | use Doctrine\ORM\Mapping; |
18 | 18 | use Doctrine\ORM\QueryBuilder; |
19 | +use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
19 | 20 | use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository as BaseProductRepository; |
20 | 21 | use Sylius\Component\Core\Model\ChannelInterface; |
21 | 22 | use Sylius\Component\Core\Model\ProductInterface; |
22 | 23 | use Sylius\Component\Core\Model\TaxonInterface; |
23 | 24 | use Sylius\Component\Core\Repository\ProductRepositoryInterface; |
24 | -use SyliusLabs\AssociationHydrator\AssociationHydrator; |
|
25 | 25 | |
26 | 26 | class ProductRepository extends BaseProductRepository implements ProductRepositoryInterface |
27 | 27 | { |
@@ -14,8 +14,8 @@ |
||
14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
15 | 15 | |
16 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | |
20 | 20 | class TaxRateResolver implements TaxRateResolverInterface |
21 | 21 | { |