Completed
Push — 1.2-symfony4-packages ( 39ce77...14945a )
by Kamil
18:11
created
tests/Controller/CurrencyApiTest.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
         {
79 79
             "code": "USD"
80 80
         }
81
-EOT;
81
+eot;
82 82
 
83 83
         $this->client->request('POST', '/api/v1/currencies/', [], [], static::$authorizedHeaderWithContentType, $data);
84 84
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             ->setDescription('Installs Sylius in your preferred environment.')
56 56
             ->setHelp(<<<EOT
57 57
 The <info>%command.name%</info> command installs Sylius.
58
-EOT
58
+eot
59 59
             )
60 60
         ;
61 61
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/CheckRequirementsCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             ->setDescription('Checks if all Sylius requirements are satisfied.')
28 28
             ->setHelp(<<<EOT
29 29
 The <info>%command.name%</info> command checks system requirements.
30
-EOT
30
+eot
31 31
             )
32 32
         ;
33 33
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallDatabaseCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             ->setDescription('Install Sylius database.')
28 28
             ->setHelp(<<<EOT
29 29
 The <info>%command.name%</info> command creates Sylius database.
30
-EOT
30
+eot
31 31
             )
32 32
         ;
33 33
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             ->setDescription('Install sample data into Sylius.')
30 30
             ->setHelp(<<<EOT
31 31
 The <info>%command.name%</info> command loads the sample data for Sylius.
32
-EOT
32
+eot
33 33
             )
34 34
         ;
35 35
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallAssetsCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             ->setDescription('Installs all Sylius assets.')
27 27
             ->setHelp(<<<EOT
28 28
 The <info>%command.name%</info> command downloads and installs all Sylius media assets.
29
-EOT
29
+eot
30 30
             )
31 31
         ;
32 32
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/SetupCommand.php 3 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             ->setDescription('Sylius configuration setup.')
47 47
             ->setHelp(<<<EOT
48 48
 The <info>%command.name%</info> command allows user to configure basic Sylius data.
49
-EOT
49
+eot
50 50
             )
51 51
         ;
52 52
     }
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
 use Symfony\Component\Console\Output\OutputInterface;
20 20
 use Symfony\Component\Console\Question\Question;
21 21
 use Symfony\Component\Console\Style\SymfonyStyle;
22
+use Symfony\Component\Validator\ConstraintViolationListInterface;
22 23
 use Symfony\Component\Validator\Constraints\Email;
23 24
 use Symfony\Component\Validator\Constraints\NotBlank;
24
-use Symfony\Component\Validator\ConstraintViolationListInterface;
25 25
 use Webmozart\Assert\Assert;
26 26
 
27 27
 final class SetupCommand extends AbstractInstallCommand
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
      * @param InputInterface $input
192 192
      * @param OutputInterface $output
193 193
      *
194
-     * @return mixed
194
+     * @return string
195 195
      */
196 196
     private function getAdministratorPassword(InputInterface $input, OutputInterface $output): string
197 197
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Command/DebugResourceCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 To show the metadata for a resource, pass its alias:
56 56
 
57 57
     $ php %command.full_name% sylius.user
58
-EOT
58
+eot
59 59
         );
60 60
         $this->addArgument('resource', InputArgument::OPTIONAL, 'Resource to debug');
61 61
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/BookApiTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $objects = $this->loadFixturesFromFile('books.yml');
77 77
 
78 78
         $data =
79
- <<<EOT
79
+    <<<EOT
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             },
35 35
             "author": "Christie Golden"
36 36
         }
37
-EOT;
37
+eot;
38 38
 
39 39
         $this->client->request('POST', '/books/', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
40 40
         $response = $this->client->getResponse();
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             },
62 62
             "author": "Christie Golden"
63 63
         }
64
-EOT;
64
+eot;
65 65
 
66 66
         $this->client->request('PUT', '/books/' . $objects['book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
67 67
         $response = $this->client->getResponse();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         {
81 81
             "author": "Christie Golden"
82 82
         }
83
-EOT;
83
+eot;
84 84
 
85 85
         $this->client->request('PATCH', '/books/' . $objects['book1']->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
86 86
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.