@@ -19,8 +19,8 @@ |
||
19 | 19 | use Psr\Http\Message\ResponseInterface; |
20 | 20 | use Psr\Http\Message\StreamInterface; |
21 | 21 | use Sylius\Bundle\AdminBundle\Controller\NotificationController; |
22 | -use Symfony\Component\HttpFoundation\Request; |
|
23 | 22 | use Symfony\Component\HttpFoundation\JsonResponse; |
23 | +use Symfony\Component\HttpFoundation\Request; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @author Jan Góralski <[email protected]> |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Component\Attribute\AttributeType; |
13 | 13 | |
14 | 14 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
15 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
16 | 15 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
16 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
17 | 17 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
18 | 18 | |
19 | 19 | /** |
@@ -11,8 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Component\Attribute\Model; |
13 | 13 | |
14 | -use Doctrine\Common\Collections\ArrayCollection; |
|
15 | -use Doctrine\Common\Collections\Collection; |
|
16 | 14 | use Sylius\Component\Attribute\AttributeType\TextAttributeType; |
17 | 15 | use Sylius\Component\Resource\Model\TimestampableTrait; |
18 | 16 | use Sylius\Component\Resource\Model\TranslatableTrait; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Component\Core\Checker; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\OrderInterface; |
15 | -use Sylius\Component\Core\Model\PaymentInterface; |
|
16 | 15 | use Sylius\Component\Payment\Resolver\PaymentMethodsResolverInterface; |
17 | 16 | |
18 | 17 | /** |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Component\Attribute\AttributeType; |
13 | 13 | |
14 | 14 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
15 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
16 | 15 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
16 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
17 | 17 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
18 | 18 | |
19 | 19 | /** |
@@ -12,8 +12,8 @@ |
||
12 | 12 | namespace Sylius\Component\Attribute\AttributeType; |
13 | 13 | |
14 | 14 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
15 | -use Symfony\Component\Validator\Constraints\NotBlank; |
|
16 | 15 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
16 | +use Symfony\Component\Validator\Constraints\NotBlank; |
|
17 | 17 | use Symfony\Component\Validator\Context\ExecutionContextInterface; |
18 | 18 | |
19 | 19 | /** |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Payum\Core\GatewayInterface; |
8 | 8 | use Payum\Core\Request\Capture; |
9 | 9 | use PhpSpec\ObjectBehavior; |
10 | -use Prophecy\Argument; |
|
11 | 10 | use Sylius\Bundle\PayumBundle\Action\CapturePaymentAction; |
12 | 11 | use Sylius\Bundle\PayumBundle\Provider\PaymentDescriptionProviderInterface; |
13 | 12 | use Sylius\Component\Core\Model\OrderInterface; |