Passed
Push — master ( c28736...a1fc90 )
by Tarmo
08:09
created
src/Rest/Traits/Methods/RestMethodProcessCriteria.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/RestMethodProcessCriteria.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/EntityReferenceExistsValidator.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/App/Validator/Constraints/EntityReferenceExistsValidator.php
5 5
  *
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     private function getInvalidValues(array $entities): array
121 121
     {
122 122
         return array_map(
123
-            static fn (EntityInterface $entity): string => $entity->getId(),
123
+            static fn(EntityInterface $entity): string => $entity->getId(),
124 124
             array_filter($entities, $this->getFilterClosure())
125 125
         );
126 126
     }
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/DateDimension.php
5 5
  *
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
                     array_merge(
263 263
                         [RolesService::ROLE_API],
264 264
                         $this->userGroups
265
-                            ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId())
265
+                            ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId())
266 266
                             ->toArray()
267 267
                     )
268 268
                 )
Please login to merge, or discard this patch.
src/Entity/Traits/UserRelations.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/UserRelations.php
5 5
  *
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     public function getRoles(): array
106 106
     {
107 107
         return $this->userGroups
108
-            ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId())
108
+            ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId())
109 109
             ->toArray();
110 110
     }
111 111
 
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
  *
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
                 /** @var array<string, mixed> $output */
513 513
                 $output = JSON::decode($rawContent, true);
514 514
             } catch (JsonException $error) {
515
-                (static fn (Throwable $error): Throwable => $error)($error);
515
+                (static fn(Throwable $error): Throwable => $error)($error);
516 516
 
517 517
                 // Oh noes content isn't JSON so just parse it
518 518
                 $output = [];
Please login to merge, or discard this patch.
src/Exception/ValidatorException.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/Exception/ValidatorException.php
5 5
  *
Please login to merge, or discard this patch.
src/Exception/interfaces/ClientErrorInterface.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/Exception/interfaces/ClientErrorInterface.php
5 5
  *
Please login to merge, or discard this patch.
src/Doctrine/DBAL/Types/EnumLocaleType.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/Doctrine/DBAL/Types/EnumLocaleType.php
5 5
  *
Please login to merge, or discard this patch.
src/Doctrine/DBAL/Types/EnumLanguageType.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/Doctrine/DBAL/Types/EnumLanguageType.php
5 5
  *
Please login to merge, or discard this patch.