Completed
Push — coding-style-checks ( 3cea25...3a6cef )
by Kamil
65:37 queued 42:38
created
src/Sylius/Component/Core/Model/ShopUser.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 
16 16
 use Sylius\Component\Customer\Model\CustomerInterface as BaseCustomerInterface;
17 17
 use Sylius\Component\User\Model\User as BaseUser;
18
-use Webmozart\Assert\Assert;
19 18
 
20 19
 /**
21 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 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\Component\Core\Model;
15 15
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * {@inheritdoc}
41 41
      */
42
-    public function setCustomer(?BaseCustomerInterface $customer): void
42
+    public function setCustomer(?BaseCustomerInterface $customer) : void
43 43
     {
44 44
         if ($this->customer === $customer) {
45 45
             return;
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * {@inheritdoc}
69 69
      */
70
-    public function setEmail(?string $email): void
70
+    public function setEmail(?string $email) : void
71 71
     {
72 72
         $this->customer->setEmail($email);
73 73
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * {@inheritdoc}
85 85
      */
86
-    public function setEmailCanonical(?string $emailCanonical): void
86
+    public function setEmailCanonical(?string $emailCanonical) : void
87 87
     {
88 88
         $this->customer->setEmailCanonical($emailCanonical);
89 89
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Customer.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      */
130 130
     public function setUser(?BaseUserInterface $user): void
131 131
     {
132
-         if ($this->user === $user) {
132
+            if ($this->user === $user) {
133 133
             return;
134 134
         }
135 135
 
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\Component\Core\Model;
15 15
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     /**
72 72
      * {@inheritdoc}
73 73
      */
74
-    public function setDefaultAddress(?AddressInterface $defaultAddress): void
74
+    public function setDefaultAddress(?AddressInterface $defaultAddress) : void
75 75
     {
76 76
         $this->defaultAddress = $defaultAddress;
77 77
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * {@inheritdoc}
129 129
      */
130
-    public function setUser(?BaseUserInterface $user): void
130
+    public function setUser(?BaseUserInterface $user) : void
131 131
     {
132 132
          if ($this->user === $user) {
133 133
             return;
Please login to merge, or discard this patch.