Passed
Pull Request — master (#753)
by Alexandr
61:14
created
src/Rest/Interfaces/RestResourceInterface.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/Interfaces/RestResourceInterfaces.php
5 5
  *
Please login to merge, or discard this patch.
src/Rest/Interfaces/SearchTermInterface.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/Interfaces/SearchTermInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Rest/Interfaces/ControllerInterface.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/Interfaces/ControllerInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Rest/Interfaces/ResponseHandlerInterface.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/Interfaces/ResponseHandlerInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Repository/Interfaces/BaseRepositoryInterface.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/Repository/Interfaces/BaseRepositoryInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Resource/UserResource.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/Resource/UserResource.php
5 5
  *
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
          *
78 78
          * @return bool
79 79
          */
80
-        $filter = fn (Entity $user): bool => in_array(
80
+        $filter = fn(Entity $user): bool => in_array(
81 81
             $userGroup->getRole()->getId(),
82 82
             $this->rolesService->getInheritedRoles($user->getRoles()),
83 83
             true
Please login to merge, or discard this patch.
src/Command/User/CreateRolesCommand.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/Command/User/CreateRolesCommand.php
5 5
  *
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $created = array_sum(
77 77
             array_map(
78
-                fn (string $role): int => $this->createRole($role),
78
+                fn(string $role): int => $this->createRole($role),
79 79
                 $this->rolesService->getRoles()
80 80
             )
81 81
         );
Please login to merge, or discard this patch.
src/EventSubscriber/AcceptLanguageSubscriber.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/LocaleSubscriber.php
5 5
  *
Please login to merge, or discard this patch.
src/Security/Handler/TranslatedAuthenticationFailureHandler.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/Security/Handler/TranslatedAuthenticationFailureHandler.php
5 5
  *
Please login to merge, or discard this patch.