@@ -12,9 +12,9 @@ |
||
12 | 12 | namespace spec\Sylius\Behat; |
13 | 13 | |
14 | 14 | use Mockery\MockInterface; |
15 | +use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
|
15 | 16 | use Payum\Core\Bridge\Guzzle\HttpClient; |
16 | 17 | use PhpSpec\ObjectBehavior; |
17 | -use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
|
18 | 18 | use Sylius\Behat\Service\Mocker\MockerInterface; |
19 | 19 | |
20 | 20 | /** |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Sylius\Bundle\ReviewBundle\Doctrine\ORM\ReviewRepository; |
17 | 17 | use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType; |
18 | 18 | use Sylius\Component\Resource\Factory\Factory; |
19 | -use Sylius\Component\Review\Model\ReviewerInterface; |
|
20 | 19 | use Sylius\Component\Review\Model\ReviewInterface; |
20 | +use Sylius\Component\Review\Model\ReviewerInterface; |
|
21 | 21 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
22 | 22 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
23 | 23 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -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; |
@@ -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; |
@@ -14,12 +14,11 @@ |
||
14 | 14 | require_once __DIR__.'/Fixture/SampleServiceInterface.php'; |
15 | 15 | |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | -use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
19 | 17 | use Sylius\Component\Registry\NonExistingServiceException; |
20 | 18 | use Sylius\Component\Registry\PrioritizedServiceRegistry; |
21 | 19 | use Sylius\Component\Registry\PrioritizedServiceRegistryInterface; |
22 | 20 | use Zend\Stdlib\PriorityQueue; |
21 | +use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
23 | 22 | |
24 | 23 | /** |
25 | 24 | * @mixin PrioritizedServiceRegistry |
@@ -14,10 +14,10 @@ |
||
14 | 14 | require_once __DIR__.'/Fixture/SampleServiceInterface.php'; |
15 | 15 | |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
18 | 17 | use Sylius\Component\Registry\ExistingServiceException; |
19 | 18 | use Sylius\Component\Registry\NonExistingServiceException; |
20 | 19 | use Sylius\Component\Registry\ServiceRegistryInterface; |
20 | +use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -14,8 +14,8 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use PhpSpec\ObjectBehavior; |
16 | 16 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
17 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
18 | 17 | use Sylius\Component\Review\Model\ReviewInterface; |
18 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @author Mateusz Zalewski <[email protected]> |
@@ -12,9 +12,9 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Review\Model; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | +use Sylius\Component\Review\Model\ReviewInterface; |
|
15 | 16 | use Sylius\Component\Review\Model\ReviewableInterface; |
16 | 17 | use Sylius\Component\Review\Model\ReviewerInterface; |
17 | -use Sylius\Component\Review\Model\ReviewInterface; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
20 | 20 | |
21 | 21 | /** |