Completed
Push — datetime-interface ( 366682...04fb4d )
by Kamil
46:21 queued 21:00
created
src/Sylius/Component/Shipping/Model/ShippingCategoryInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param string $name
35
+     * @return void
35 36
      */
36 37
     public function setName($name);
37 38
 
@@ -42,6 +43,7 @@  discard block
 block discarded – undo
42 43
 
43 44
     /**
44 45
      * @param string $description
46
+     * @return void
45 47
      */
46 48
     public function setDescription($description);
47 49
 }
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\Shipping\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxRateInterface.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param null|TaxCategoryInterface $category
30
+     * @return void
30 31
      */
31 32
     public function setCategory(TaxCategoryInterface $category = null);
32 33
 
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param string $name
41
+     * @return void
40 42
      */
41 43
     public function setName($name);
42 44
 
@@ -52,6 +54,7 @@  discard block
 block discarded – undo
52 54
 
53 55
     /**
54 56
      * @param float $amount
57
+     * @return void
55 58
      */
56 59
     public function setAmount($amount);
57 60
 
@@ -62,6 +65,7 @@  discard block
 block discarded – undo
62 65
 
63 66
     /**
64 67
      * @param bool $includedInPrice
68
+     * @return void
65 69
      */
66 70
     public function setIncludedInPrice($includedInPrice);
67 71
 
@@ -72,6 +76,7 @@  discard block
 block discarded – undo
72 76
 
73 77
     /**
74 78
      * @param string $calculator
79
+     * @return void
75 80
      */
76 81
     public function setCalculator($calculator);
77 82
 
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\Taxation\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Canonicalizer/CanonicalizerInterface.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,5 +16,10 @@
 block discarded – undo
16 16
  */
17 17
 interface CanonicalizerInterface
18 18
 {
19
+    /**
20
+     * @param string $string
21
+     *
22
+     * @return string
23
+     */
19 24
     public function canonicalize($string);
20 25
 }
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\User\Canonicalizer;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/CredentialsHolderInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $plainPassword
26
+     * @return void
26 27
      */
27 28
     public function setPlainPassword($plainPassword);
28 29
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string $encodedPassword
42
+     * @return void
41 43
      */
42 44
     public function setPassword($encodedPassword);
43 45
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
      *
56 58
      * This is important if, at any given point, sensitive information like
57 59
      * the plain-text password is stored on this object.
60
+     * @return void
58 61
      */
59 62
     public function eraseCredentials();
60 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 Sylius\Component\User\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserAwareInterface.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 UserInterface $user
26
+     * @return void
26 27
      */
27 28
     public function setUser(UserInterface $user = null);
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\User\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Security/PasswordUpdaterInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
  */
19 19
 interface PasswordUpdaterInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function updatePassword(CredentialsHolderInterface $user);
22 25
 }
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\User\Security;
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.