Passed
Pull Request — master (#2173)
by Tarmo
10:28 queued 01:18
created
src/Command/Utils/CheckDependencies.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/Command/Utils/CheckDependencies.php
5 5
  *
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $packageNameLength = max(
106 106
             array_map(
107 107
                 static fn (array $row): int => isset($row[1]) ? strlen($row[1]) : 0,
108
-                array_filter($rows, static fn (mixed $row): bool => !$row instanceof TableSeparator)
108
+                array_filter($rows, static fn (mixed $row) : bool => !$row instanceof TableSeparator)
109 109
             ) + [0]
110 110
         );
111 111
 
Please login to merge, or discard this patch.
src/Form/DataTransformer/UserGroupTransformer.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/Form/DataTransformer/UserGroupTransformer.php
5 5
  *
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function transform(mixed $value): array
46 46
     {
47
-        $callback = static fn (UserGroup | Stringable $userGroup): string =>
47
+        $callback = static fn (UserGroup|Stringable $userGroup): string =>
48 48
             $userGroup instanceof UserGroup ? $userGroup->getId() : (string)$userGroup;
49 49
 
50 50
         return is_array($value) ? array_map($callback, $value) : [];
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         return is_array($value)
67 67
             ? array_map(
68
-                fn (string $groupId): UserGroup => $this->resource->findOne($groupId, false) ??
68
+                fn (string $groupId) : UserGroup => $this->resource->findOne($groupId, false) ??
69 69
                     throw new TransformationFailedException(
70 70
                         sprintf('User group with id "%s" does not exist!', $groupId),
71 71
                     ),
Please login to merge, or discard this patch.
rector.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
  * rector.php
5 5
  *
Please login to merge, or discard this patch.