@@ -12,19 +12,15 @@ |
||
12 | 12 | namespace Sylius\Bundle\CoreBundle\Command; |
13 | 13 | |
14 | 14 | use Sylius\Component\Core\Model\AdminUserInterface; |
15 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
16 | -use Sylius\Component\Currency\Model\CurrencyInterface; |
|
17 | 15 | use Sylius\Component\Locale\Model\LocaleInterface; |
18 | -use Sylius\Component\User\Model\UserInterface; |
|
19 | 16 | use Symfony\Component\Console\Helper\QuestionHelper; |
20 | 17 | use Symfony\Component\Console\Input\InputInterface; |
21 | 18 | use Symfony\Component\Console\Output\OutputInterface; |
22 | 19 | use Symfony\Component\Console\Question\Question; |
23 | 20 | use Symfony\Component\Console\Style\SymfonyStyle; |
24 | -use Symfony\Component\Intl\Intl; |
|
21 | +use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
25 | 22 | use Symfony\Component\Validator\Constraints\Email; |
26 | 23 | use Symfony\Component\Validator\Constraints\NotBlank; |
27 | -use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
28 | 24 | use Webmozart\Assert\Assert; |
29 | 25 | |
30 | 26 | /** |
@@ -107,7 +107,7 @@ |
||
107 | 107 | |
108 | 108 | $this->addItemToCart($cartId); |
109 | 109 | |
110 | - $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}'); |
|
110 | + $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}'); |
|
111 | 111 | |
112 | 112 | $this->addressOrder($cartId); |
113 | 113 | $this->selectOrderShippingMethod($cartId); |
@@ -71,7 +71,7 @@ |
||
71 | 71 | ) { |
72 | 72 | $this->channelFactory = $channelFactory; |
73 | 73 | $this->localeRepository = $localeRepository; |
74 | - $this->currencyRepository= $currencyRepository; |
|
74 | + $this->currencyRepository = $currencyRepository; |
|
75 | 75 | $this->zoneRepository = $zoneRepository; |
76 | 76 | |
77 | 77 | $this->faker = \Faker\Factory::create(); |
@@ -76,7 +76,7 @@ |
||
76 | 76 | count($this->commands), |
77 | 77 | $command['message'] |
78 | 78 | )); |
79 | - $this->commandExecutor->runCommand('sylius:install:'.$command['command'], [], $output); |
|
79 | + $this->commandExecutor->runCommand('sylius:install:' . $command['command'], [], $output); |
|
80 | 80 | } catch (RuntimeException $exception) { |
81 | 81 | $errored = true; |
82 | 82 | } |