Passed
Pull Request — master (#1299)
by Tarmo
07:08
created
src/Entity/Interfaces/UserInterface.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/Entity/Interfaces/UserInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Security/Interfaces/ApiKeyUserProviderInterface.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/Interfaces/ApiKeyUserProviderInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Utils/Interfaces/RequestLoggerInterface.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/Utils/Interfaces/RequestLoggerInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Utils/Interfaces/LoginLoggerInterface.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/Utils/Interfaces/LoginLoggerInterface.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/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/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.
src/AutoMapper/RestRequestMapper.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/AutoMapper/RestRequestMapper.php
5 5
  *
@@ -137,6 +137,6 @@  discard block
 block discarded – undo
137 137
      */
138 138
     private function getValidProperties(Request $request): array
139 139
     {
140
-        return array_filter(static::$properties, static fn ($property) => $request->request->has($property));
140
+        return array_filter(static::$properties, static fn($property) => $request->request->has($property));
141 141
     }
142 142
 }
Please login to merge, or discard this patch.