Passed
Branch master (08916f)
by Tarmo
13:38 queued 08:48
created
src/Validator/Constraints/Timezone.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/Validator/Constraints/Timezone.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/Locale.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/Validator/Constraints/Locale.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/LocaleValidator.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/Validator/Constraints/LocaleValidator.php
5 5
  *
Please login to merge, or discard this patch.
src/Validator/Constraints/Language.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/Validator/Constraints/Language.php
5 5
  *
Please login to merge, or discard this patch.
src/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.
src/Security/UserTypeIdentification.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/UserTypeIdentification.php
5 5
  *
Please login to merge, or discard this patch.
src/Security/ApiKeyUser.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/Security/ApiKeyUser.php
5 5
  *
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         // Iterate API key user groups and extract roles from those and attach base 'ROLE_API'
66 66
         $roles = $this->apiKey
67 67
             ->getUserGroups()
68
-            ->map(static fn (UserGroup $userGroup): string => $userGroup->getRole()->getId())
68
+            ->map(static fn(UserGroup $userGroup): string => $userGroup->getRole()->getId())
69 69
             ->toArray();
70 70
 
71 71
         $roles[] = RolesService::ROLE_API;
Please login to merge, or discard this patch.
src/Rest/UuidHelper.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/UuidHelper.php
5 5
  *
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public static function getFactory(): UuidFactory
37 37
     {
38
-        return self::$cache ??= self::initCache();
38
+        return self::$cache ?? = self::initCache();
39 39
     }
40 40
 
41 41
     /**
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             }
59 59
         } catch (InvalidUuidStringException $exception) {
60 60
             // ok, so now we know that value isn't uuid
61
-            (static fn (Throwable $exception): Throwable => $exception)($exception);
61
+            (static fn(Throwable $exception): Throwable => $exception)($exception);
62 62
         }
63 63
 
64 64
         return $output;
Please login to merge, or discard this patch.