@@ -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 Prophecy\Argument; |
19 | 19 | use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface; |
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 ReviewChangeListenerSpec extends ObjectBehavior |
24 | 24 | { |
@@ -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 | { |
@@ -19,9 +19,9 @@ |
||
19 | 19 | use Sylius\Component\Attribute\AttributeType\IntegerAttributeType; |
20 | 20 | use Sylius\Component\Attribute\Model\AttributeInterface; |
21 | 21 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
22 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
23 | 22 | use Symfony\Component\Validator\ConstraintViolationInterface; |
24 | 23 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
24 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
25 | 25 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
26 | 26 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
27 | 27 | use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |
@@ -19,9 +19,9 @@ |
||
19 | 19 | use Sylius\Component\Attribute\AttributeType\PercentAttributeType; |
20 | 20 | use Sylius\Component\Attribute\Model\AttributeInterface; |
21 | 21 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
22 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
23 | 22 | use Symfony\Component\Validator\ConstraintViolationInterface; |
24 | 23 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
24 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
25 | 25 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
26 | 26 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
27 | 27 | use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |
@@ -19,9 +19,9 @@ |
||
19 | 19 | use Sylius\Component\Attribute\AttributeType\SelectAttributeType; |
20 | 20 | use Sylius\Component\Attribute\Model\AttributeInterface; |
21 | 21 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
22 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
23 | 22 | use Symfony\Component\Validator\ConstraintViolationInterface; |
24 | 23 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
24 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
25 | 25 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
26 | 26 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
27 | 27 | use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |
@@ -19,9 +19,9 @@ |
||
19 | 19 | use Sylius\Component\Attribute\AttributeType\TextareaAttributeType; |
20 | 20 | use Sylius\Component\Attribute\Model\AttributeInterface; |
21 | 21 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
22 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
23 | 22 | use Symfony\Component\Validator\ConstraintViolationInterface; |
24 | 23 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
24 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
25 | 25 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
26 | 26 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
27 | 27 | use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |
@@ -19,10 +19,10 @@ |
||
19 | 19 | use Sylius\Component\Attribute\AttributeType\TextAttributeType; |
20 | 20 | use Sylius\Component\Attribute\Model\AttributeInterface; |
21 | 21 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
22 | -use Symfony\Component\Validator\Constraints\Length; |
|
23 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
24 | 22 | use Symfony\Component\Validator\ConstraintViolationInterface; |
25 | 23 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
24 | +use Symfony\Component\Validator\Constraints\Length; |
|
25 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
26 | 26 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
27 | 27 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
28 | 28 | use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface; |