@@ -14,16 +14,16 @@ |
||
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Addressing\Matcher\ZoneMatcherInterface; |
16 | 16 | use Sylius\Component\Addressing\Model\ZoneInterface; |
17 | -use Sylius\Component\Core\Model\Scope; |
|
18 | 17 | use Sylius\Component\Core\Model\AddressInterface; |
19 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
20 | 19 | use Sylius\Component\Core\Model\OrderInterface; |
20 | +use Sylius\Component\Core\Model\Scope; |
|
21 | 21 | use Sylius\Component\Core\Model\ShipmentInterface; |
22 | 22 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
23 | +use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
23 | 24 | use Sylius\Component\Core\Resolver\ZoneAndChannelBasedShippingMethodsResolver; |
24 | 25 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
25 | 26 | use Sylius\Component\Shipping\Model\ShippingSubjectInterface; |
26 | -use Sylius\Component\Core\Repository\ShippingMethodRepositoryInterface; |
|
27 | 27 | use Sylius\Component\Shipping\Resolver\ShippingMethodsResolverInterface; |
28 | 28 | |
29 | 29 | /** |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Sylius\Component\Core\Model\AddressInterface; |
16 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
17 | 17 | use Sylius\Component\Core\Model\ShippingMethodInterface; |
18 | -use Sylius\Component\Payment\Model\PaymentMethodInterface; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -15,8 +15,8 @@ |
||
15 | 15 | use Sylius\Component\Product\Model\ProductOptionValueInterface; |
16 | 16 | use Sylius\Component\Product\Model\ProductVariantInterface; |
17 | 17 | use Symfony\Component\Form\DataTransformerInterface; |
18 | -use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
19 | 18 | use Symfony\Component\Form\Exception\TransformationFailedException; |
19 | +use Symfony\Component\Form\Exception\UnexpectedTypeException; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -11,9 +11,9 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\CoreBundle\EventListener; |
13 | 13 | |
14 | +use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
14 | 15 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
15 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
16 | -use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
17 | 17 | use Symfony\Component\EventDispatcher\GenericEvent; |
18 | 18 | |
19 | 19 | /** |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Fixture; |
13 | 13 | |
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | -use Sylius\Component\Addressing\Factory\ZoneFactoryInterface; |
|
16 | 15 | use Sylius\Bundle\FixturesBundle\Fixture\AbstractFixture; |
16 | +use Sylius\Component\Addressing\Factory\ZoneFactoryInterface; |
|
17 | 17 | use Sylius\Component\Addressing\Model\CountryInterface; |
18 | 18 | use Sylius\Component\Addressing\Model\ProvinceInterface; |
19 | 19 | use Sylius\Component\Addressing\Model\ZoneInterface; |
@@ -14,9 +14,9 @@ |
||
14 | 14 | use Doctrine\Common\Persistence\ObjectManager; |
15 | 15 | use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
16 | 16 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
17 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
17 | 18 | use Sylius\Component\Review\Model\ReviewableInterface; |
18 | 19 | use Sylius\Component\Review\Model\ReviewerInterface; |
19 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @author Grzegorz Sadowski <[email protected]> |
@@ -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\Fixture\FixtureRegistryInterface; |
19 | 18 | use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface; |
@@ -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]> |