Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Bundle/ThemeBundle/Tests/Functional/TranslationTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return array
31
+     * @return string[]
32 32
      */
33 33
     protected function getTranslationsLines()
34 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\Bundle\ThemeBundle\Tests\Functional;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderItemInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param ProductVariantInterface $variant
33
+     * @return void
33 34
      */
34 35
     public function setVariant(ProductVariantInterface $variant);
35 36
 
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\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductTranslationInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $shortDescription
26
+     * @return void
26 27
      */
27 28
     public function setShortDescription($shortDescription);
28 29
 }
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\Component\Core\Model;
15 15
 
Please login to merge, or discard this patch.
Sylius/Component/Core/Taxation/Applicator/OrderTaxesApplicatorInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param OrderInterface $order
25 25
      * @param ZoneInterface $zone
26
+     * @return void
26 27
      */
27 28
     public function apply(OrderInterface $order, ZoneInterface $zone);
28 29
 }
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\Component\Core\Taxation\Applicator;
15 15
 
Please login to merge, or discard this patch.
Sylius/Component/Core/Taxation/Strategy/TaxCalculationStrategyInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param OrderInterface $order
24 24
      * @param ZoneInterface $zone
25
+     * @return void
25 26
      */
26 27
     public function applyTaxes(OrderInterface $order, ZoneInterface $zone);
27 28
 
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\Component\Core\Taxation\Strategy;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Uploader/ImageUploaderInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -17,11 +17,13 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * @param ImageInterface $image
20
+     * @return void
20 21
      */
21 22
     public function upload(ImageInterface $image);
22 23
 
23 24
     /**
24 25
      * @param string $path
26
+     * @return boolean
25 27
      */
26 28
     public function remove($path);
27 29
 }
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\Component\Core\Uploader;
15 15
 
Please login to merge, or discard this patch.
etc/phpcs/common.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
 For the full copyright and license information, please view the LICENSE
20 20
 file that was distributed with this source code.
21
-EOF;
21
+eof;
22 22
 
23 23
 HeaderCommentFixer::setHeader($header);
24 24
 
Please login to merge, or discard this patch.
app/config/router_test_cached.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@
 block discarded – undo
26 26
     require ini_get('auto_prepend_file');
27 27
 }
28 28
 
29
-if (is_file($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$_SERVER['SCRIPT_NAME'])) {
29
+if (is_file($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $_SERVER['SCRIPT_NAME'])) {
30 30
     return false;
31 31
 }
32 32
 
33 33
 $_SERVER = array_merge($_SERVER, $_ENV);
34
-$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'app_test_cached.php';
34
+$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'app_test_cached.php';
35 35
 
36 36
 require 'app_test_cached.php';
37 37
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/PromoteUserCommand.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 The <info>sylius:user:promote</info> command promotes a user by adding security roles
39 39
 
40 40
   <info>php app/console sylius:user:promote [email protected]</info>
41
-EOT
41
+eot
42 42
             );
43 43
     }
44 44
 
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\UserBundle\Command;
15 15
 
@@ -55,13 +55,13 @@  discard block
 block discarded – undo
55 55
 
56 56
         foreach ($securityRoles as $securityRole) {
57 57
             if ($user->hasRole($securityRole)) {
58
-                $output->writeln(sprintf('<error>User "%s" did already have "%s" security role.</error>', (string)$user, $securityRole));
58
+                $output->writeln(sprintf('<error>User "%s" did already have "%s" security role.</error>', (string) $user, $securityRole));
59 59
                 $error = true;
60 60
                 continue;
61 61
             }
62 62
 
63 63
             $user->addRole($securityRole);
64
-            $output->writeln(sprintf('Security role <comment>%s</comment> has been added to user <comment>%s</comment>', $securityRole, (string)$user));
64
+            $output->writeln(sprintf('Security role <comment>%s</comment> has been added to user <comment>%s</comment>', $securityRole, (string) $user));
65 65
         }
66 66
 
67 67
         if (!$error) {
Please login to merge, or discard this patch.