Passed
Push — master ( f32054...0e8b83 )
by Tarmo
107:11 queued 42:11
created
src/Rest/Traits/RestMethodHelper.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/Traits/RestMethodHelper.php
5 5
  *
Please login to merge, or discard this patch.
src/Controller/Role/InheritedRolesController.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/Controller/Role/InheritedRolesController.php
5 5
  *
Please login to merge, or discard this patch.
src/Entity/ApiKey.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/Entity/ApiKey.php
5 5
  *
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
                     array_merge(
236 236
                         [RolesService::ROLE_API],
237 237
                         $this->userGroups
238
-                            ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId())
238
+                            ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId())
239 239
                             ->toArray()
240 240
                     )
241 241
                 )
Please login to merge, or discard this patch.
src/Rest/UuidHelper.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/UuidHelper.php
5 5
  *
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             }
54 54
         } catch (InvalidUuidStringException $exception) {
55 55
             // ok, so now we know that value isn't uuid
56
-            (static fn (InvalidUuidStringException $exception): InvalidUuidStringException => $exception)($exception);
56
+            (static fn(InvalidUuidStringException $exception): InvalidUuidStringException => $exception)($exception);
57 57
         }
58 58
 
59 59
         return $output;
Please login to merge, or discard this patch.
src/Entity/Traits/LogRequestProcessRequestTrait.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/Entity/Traits/LogRequestProcessRequestTrait.php
5 5
  *
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
                 /** @var array<string, mixed> $output */
424 424
                 $output = JSON::decode($rawContent, true);
425 425
             } catch (JsonException $error) {
426
-                (static fn (JsonException $error): JsonException => $error)($error);
426
+                (static fn(JsonException $error): JsonException => $error)($error);
427 427
 
428 428
                 // Oh noes content isn't JSON so just parse it
429 429
                 $output = [];
Please login to merge, or discard this patch.
src/Rest/RepositoryHelper.php 1 patch
Spacing   +3 added lines, -3 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/RepositoryHelper.php
5 5
  *
@@ -360,11 +360,11 @@  discard block
 block discarded – undo
360 360
             try {
361 361
                 $value = array_map([UuidHelper::class, 'getBytes'], $value);
362 362
             } catch (InvalidUuidStringException $error) {
363
-                (static fn (InvalidUuidStringException $error): InvalidUuidStringException => $error)($error);
363
+                (static fn(InvalidUuidStringException $error): InvalidUuidStringException => $error)($error);
364 364
             }
365 365
 
366 366
             $parameters[] = array_map(
367
-                static fn (string $value): Literal => $queryBuilder->expr()->literal(
367
+                static fn(string $value): Literal => $queryBuilder->expr()->literal(
368 368
                     is_numeric($value) ? (int)$value : $value
369 369
                 ),
370 370
                 $value
Please login to merge, or discard this patch.
migrations/Version20200229154730.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 // phpcs:ignoreFile
6 6
 /** @noinspection PhpIllegalPsrClassPathInspection */
Please login to merge, or discard this patch.
migrations/Version20191006091354.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 // phpcs:ignoreFile
6 6
 /** @noinspection PhpIllegalPsrClassPathInspection */
Please login to merge, or discard this patch.
src/EventSubscriber/DoctrineExtensionSubscriber.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/DoctrineExtensionSubscriber.php
5 5
  *
Please login to merge, or discard this patch.