Passed
Pull Request — master (#2173)
by Tarmo
10:28 queued 01:18
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/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.
src/Entity/Interfaces/UserGroupAwareInterface.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/Interfaces/UserGroupAwareInterface.php
5 5
  *
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @return Collection<int, UserGroup>|ArrayCollection<int, UserGroup>
25 25
      */
26
-    public function getUserGroups(): Collection | ArrayCollection;
26
+    public function getUserGroups(): Collection|ArrayCollection;
27 27
 
28 28
     /**
29 29
      * Method to attach new userGroup to current user OR api key.
Please login to merge, or discard this patch.
src/Entity/DateDimension.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
  *
@@ -327,6 +327,6 @@  discard block
 block discarded – undo
327 327
     {
328 328
         $output = DateTimeImmutable::createFromFormat('U', (string)$this->getUnixTime(), new DateTimeZone('UTC'));
329 329
 
330
-        return $output === false ? new DateTimeImmutable(timezone: new DateTimeZone('UTC')) : $output;
330
+        return $output === false ? new DateTimeImmutable(timezone : new DateTimeZone('UTC')) : $output;
331 331
     }
332 332
 }
Please login to merge, or discard this patch.
src/Exception/models/ValidatorError.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/Exception/models/ValidatorError.php
5 5
  *
@@ -20,10 +20,10 @@  discard block
 block discarded – undo
20 20
  */
21 21
 class ValidatorError
22 22
 {
23
-    public string | Stringable $message;
23
+    public string|Stringable $message;
24 24
     public string $propertyPath;
25 25
     public string $target;
26
-    public string | null $code;
26
+    public string|null $code;
27 27
 
28 28
     public function __construct(ConstraintViolationInterface $error, string $target)
29 29
     {
Please login to merge, or discard this patch.
src/Repository/Interfaces/BaseRepositoryInterface.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/Repository/Interfaces/BaseRepositoryInterface.php
5 5
  *
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @throws NonUniqueResultException
89 89
      */
90
-    public function findAdvanced(string $id, string | int | null $hydrationMode = null): null | array | EntityInterface;
90
+    public function findAdvanced(string $id, string|int|null $hydrationMode = null): null|array|EntityInterface;
91 91
 
92 92
     /**
93 93
      * Wrapper for default Doctrine repository findOneBy method.
Please login to merge, or discard this patch.
src/Entity/UserGroup.php 1 patch
Spacing   +5 added lines, -5 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/UserGroup.php
5 5
  *
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     #[Groups([
124 124
         'UserGroup.users',
125 125
     ])]
126
-    private Collection | ArrayCollection $users;
126
+    private Collection|ArrayCollection $users;
127 127
 
128 128
     /**
129 129
      * @var Collection<int, ApiKey>|ArrayCollection<int, ApiKey>
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     #[Groups([
140 140
         'UserGroup.apiKeys',
141 141
     ])]
142
-    private Collection | ArrayCollection $apiKeys;
142
+    private Collection|ArrayCollection $apiKeys;
143 143
 
144 144
     public function __construct()
145 145
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * @return Collection<int, User>|ArrayCollection<int, User>
188 188
      */
189
-    public function getUsers(): Collection | ArrayCollection
189
+    public function getUsers(): Collection|ArrayCollection
190 190
     {
191 191
         return $this->users;
192 192
     }
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
     /**
195 195
      * @return Collection<int, ApiKey>|ArrayCollection<int, ApiKey>
196 196
      */
197
-    public function getApiKeys(): Collection | ArrayCollection
197
+    public function getApiKeys(): Collection|ArrayCollection
198 198
     {
199 199
         return $this->apiKeys;
200 200
     }
Please login to merge, or discard this patch.
src/Compiler/StopwatchCompilerPass.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/Compiler/StopwatchCompilerPass.php
5 5
  *
Please login to merge, or discard this patch.
src/Security/SecurityUser.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/SecurityUser.php
5 5
  *
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 class SecurityUser implements UserInterface, PasswordAuthenticatedUserInterface
22 22
 {
23 23
     private string $identifier;
24
-    private string | null $password;
24
+    private string|null $password;
25 25
     private string $language;
26 26
     private string $locale;
27 27
     private string $timezone;
Please login to merge, or discard this patch.