Passed
Branch master (b4ac3b)
by Tarmo
05:51
created
src/EventSubscriber/ExceptionSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/EventSubscriber/ExceptionSubscriber.php
5 5
  *
Please login to merge, or discard this patch.
src/EventSubscriber/UserEntitySubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/EventSubscriber/UserEntitySubscriber.php
5 5
  *
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
             $encoder = $this->getEncoder($user);
119 119
 
120 120
             // Password hash callback
121
-            $callback = function ($plainPassword) use ($encoder, $user) {
121
+            $callback = function($plainPassword) use ($encoder, $user) {
122 122
                 return $encoder->encodePassword($plainPassword, $user->getSalt());
123 123
             };
124 124
 
Please login to merge, or discard this patch.
src/EventSubscriber/JWTCreatedSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/EventSubscriber/JWTCreatedSubscriber.php
5 5
  *
Please login to merge, or discard this patch.
src/EventSubscriber/BodySubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/EventSubscriber/BodySubscriber.php
5 5
  *
Please login to merge, or discard this patch.
src/EventSubscriber/AuthenticationFailureSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/EventSubscriber/AuthenticationFailureSubscriber.php
5 5
  *
Please login to merge, or discard this patch.
src/EventSubscriber/AuthenticationSuccessSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/EventSubscriber/AuthenticationSuccessSubscriber.php
5 5
  *
Please login to merge, or discard this patch.
src/DTO/UserGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Rest/DTO/UserGroup.php
5 5
  *
Please login to merge, or discard this patch.
src/DTO/RestDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/DTO/RestDto.php
5 5
  *
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                 'has' . \ucfirst($property),
66 66
             ];
67 67
 
68
-            $filter = function (string $method) use ($dto): bool {
68
+            $filter = function(string $method) use ($dto): bool {
69 69
                 return \method_exists($dto, $method);
70 70
             };
71 71
 
Please login to merge, or discard this patch.
src/DTO/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 /**
4 4
  * /src/Rest/DTO/User.php
5 5
  *
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
          *
253 253
          * @return string
254 254
          */
255
-        $iterator = function (UserGroupEntity $group) {
255
+        $iterator = function(UserGroupEntity $group) {
256 256
             return $group->getId();
257 257
         };
258 258
 
Please login to merge, or discard this patch.