Passed
Push — master ( c28736...a1fc90 )
by Tarmo
08:09
created
src/Rest/ControllerCollection.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/ControllerCollection.php
5 5
  *
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function filter(string $className): Closure
52 52
     {
53
-        return static fn (ControllerInterface $restController): bool => $restController instanceof $className;
53
+        return static fn(ControllerInterface $restController): bool => $restController instanceof $className;
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
src/Doctrine/DBAL/Types/EnumType.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/Doctrine/DBAL/Types/EnumType.php
5 5
  *
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform): string
37 37
     {
38
-        $iterator = static fn (string $value): string => "'" . $value . "'";
38
+        $iterator = static fn(string $value): string => "'" . $value . "'";
39 39
 
40 40
         return 'ENUM(' . implode(', ', array_map($iterator, self::getValues())) . ')';
41 41
     }
Please login to merge, or discard this patch.
src/DTO/RestDto.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/DTO/RestDto.php
5 5
  *
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     public function getVisited(): array
72 72
     {
73
-        return array_filter($this->visited, static fn (string $property): bool => $property !== 'id');
73
+        return array_filter($this->visited, static fn(string $property): bool => $property !== 'id');
74 74
     }
75 75
 
76 76
     public function setVisited(string $property): RestDtoInterface
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
             'has' . ucfirst($property),
145 145
         ];
146 146
 
147
-        $getterMethods = array_filter($getters, static fn (string $method): bool => method_exists($dto, $method));
147
+        $getterMethods = array_filter($getters, static fn(string $method): bool => method_exists($dto, $method));
148 148
 
149 149
         return $this->validateGetterMethod($property, $getterMethods);
150 150
     }
Please login to merge, or discard this patch.
src/Form/DataTransformer/UserGroupTransformer.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/Form/DataTransformer/UserGroupTransformer.php
5 5
  *
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $output = [];
50 50
 
51 51
         if (is_array($userGroups)) {
52
-            $iterator = static fn ($group): string => $group instanceof UserGroup ? $group->getId() : (string)$group;
52
+            $iterator = static fn($group): string => $group instanceof UserGroup ? $group->getId() : (string)$group;
53 53
 
54 54
             $output = array_values(array_map('\strval', array_map($iterator, $userGroups)));
55 55
         }
Please login to merge, or discard this patch.
src/Controller/Profile/RolesController.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/Profile/RolesController.php
5 5
  *
Please login to merge, or discard this patch.
src/Controller/Profile/GroupsController.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/Profile/GroupsController.php
5 5
  *
Please login to merge, or discard this patch.
src/Controller/Profile/IndexController.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/Profile/IndexController.php
5 5
  *
Please login to merge, or discard this patch.