Completed
Push — taxon-ancestor ( 0755ef...1d276d )
by Kamil
140:53 queued 109:10
created
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 2 patches
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Command;
15 15
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
                     count($this->commands),
79 79
                     $command['message']
80 80
                 ));
81
-                $this->commandExecutor->runCommand('sylius:install:'.$command['command'], [], $output);
81
+                $this->commandExecutor->runCommand('sylius:install:' . $command['command'], [], $output);
82 82
             } catch (RuntimeException $exception) {
83 83
                 $errored = true;
84 84
             }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/CheckRequirementsCommand.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Command;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallDatabaseCommand.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Command;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Command;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallAssetsCommand.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Command;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/spec/Translation/ThemeAwareTranslatorSpec.php 2 patches
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,8 @@
 block discarded – undo
25 25
  */
26 26
 final class ThemeAwareTranslatorSpec extends ObjectBehavior
27 27
 {
28
-    function let(TranslatorInterface $translator, ThemeContextInterface $themeContext) {
28
+    function let(TranslatorInterface $translator, ThemeContextInterface $themeContext)
29
+    {
29 30
         $translator->implement(TranslatorBagInterface::class);
30 31
 
31 32
         $this->beConstructedWith($translator, $themeContext);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Bundle\ThemeBundle\Translation;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Command/DebugResourceCommand.php 2 patches
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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ResourceBundle\Command;
15 15
 
@@ -135,11 +135,11 @@  discard block
 block discarded – undo
135 135
     {
136 136
         foreach ($parameters as $key => $value) {
137 137
             if (is_array($value)) {
138
-                $flattened = $this->flattenParameters($value, $flattened, $prefix.$key.'.');
138
+                $flattened = $this->flattenParameters($value, $flattened, $prefix . $key . '.');
139 139
                 continue;
140 140
             }
141 141
 
142
-            $flattened[$prefix.$key] = $value;
142
+            $flattened[$prefix . $key] = $value;
143 143
         }
144 144
 
145 145
         return $flattened;
Please login to merge, or discard this patch.
Component/Core/spec/Translation/TranslatableEntityLocaleAssignerSpec.php 2 patches
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,7 @@  discard block
 block discarded – undo
43 43
         LocaleContextInterface $localeContext,
44 44
         TranslationLocaleProviderInterface $translationLocaleProvider,
45 45
         TranslatableInterface $translatableEntity
46
-    )
47
-    {
46
+    ) {
48 47
         $localeContext->getLocaleCode()->willReturn('de_DE');
49 48
         $translationLocaleProvider->getDefaultLocaleCode()->willReturn('en_US');
50 49
 
@@ -58,8 +57,7 @@  discard block
 block discarded – undo
58 57
         LocaleContextInterface $localeContext,
59 58
         TranslationLocaleProviderInterface $translationLocaleProvider,
60 59
         TranslatableInterface $translatableEntity
61
-    )
62
-    {
60
+    ) {
63 61
         $localeContext->getLocaleCode()->willThrow(new LocaleNotFoundException());
64 62
         $translationLocaleProvider->getDefaultLocaleCode()->willReturn('en_US');
65 63
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Component\Core\Translation;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAssociationType/IndexPageInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -21,12 +21,14 @@
 block discarded – undo
21 21
     /**
22 22
      * @param string $field
23 23
      * @param string $type
24
+     * @return void
24 25
      */
25 26
     public function specifyFilterType($field, $type);
26 27
 
27 28
     /**
28 29
      * @param string $field
29 30
      * @param string $value
31
+     * @return void
30 32
      */
31 33
     public function specifyFilterValue($field, $value);
32 34
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Behat\Page\Admin\ProductAssociationType;
15 15
 
Please login to merge, or discard this patch.