Completed
Push — tests-organisation ( 421fd1 )
by Kamil
21:24
created
src/Sylius/Bundle/CoreBundle/Command/SetupCommand.php 1 patch
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,19 +12,15 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
tests/Controller/OrderApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ChannelExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.