Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Test Failed
Push — master ( 6b4a4c...be33c5 )
by Jérémiah
01:22 queued 11s
created
src/Security/Security.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         return array_reduce(
52 52
             $permissions,
53
-            fn ($isGranted, $permission) => $isGranted || $this->isGranted($permission, $object),
53
+            fn($isGranted, $permission) => $isGranted || $this->isGranted($permission, $object),
54 54
             false
55 55
         );
56 56
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     {
60 60
         return array_reduce(
61 61
             $roles,
62
-            fn ($isGranted, $role) => $isGranted || $this->isGranted($role),
62
+            fn($isGranted, $role) => $isGranted || $this->isGranted($role),
63 63
             false
64 64
         );
65 65
     }
Please login to merge, or discard this patch.
src/Resolver/AccessResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         if ($this->isThenable($resultOrPromise)) {
41 41
             return $this->createPromise(
42 42
                 $resultOrPromise,
43
-                fn ($result) => $this->processFilter($result, $accessChecker, $resolveArgs)
43
+                fn($result) => $this->processFilter($result, $accessChecker, $resolveArgs)
44 44
             );
45 45
         }
46 46
 
Please login to merge, or discard this patch.
src/Relay/Connection/Paginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         if (!is_numeric($this->connectionBuilder->cursorToOffset($after)) || !$after) {
69 69
             $entities = call_user_func($this->fetcher, $offset, $limit ? $limit + 1 : $limit);
70 70
 
71
-            return $this->handleEntities($entities, fn ($entities) => $this->connectionBuilder->connectionFromArray($entities, $args));
71
+            return $this->handleEntities($entities, fn($entities) => $this->connectionBuilder->connectionFromArray($entities, $args));
72 72
         } else {
73 73
             $entities = call_user_func($this->fetcher, $offset, $limit ? $limit + 2 : $limit);
74 74
 
Please login to merge, or discard this patch.
src/Relay/Connection/ConnectionBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     {
86 86
         $this->checkPromise($dataPromise);
87 87
 
88
-        return $dataPromise->then(fn ($data) => $this->connectionFromArray($data, $args));
88
+        return $dataPromise->then(fn($data) => $this->connectionFromArray($data, $args));
89 89
     }
90 90
 
91 91
     /**
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
     {
188 188
         $this->checkPromise($dataPromise);
189 189
 
190
-        return $dataPromise->then(fn ($arraySlice) => $this->connectionFromArraySlice($arraySlice, $args, $meta));
190
+        return $dataPromise->then(fn($arraySlice) => $this->connectionFromArraySlice($arraySlice, $args, $meta));
191 191
     }
192 192
 
193 193
     /**
Please login to merge, or discard this patch.
src/Transformer/ArgumentsTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         }
76 76
 
77 77
         if ($multiple) {
78
-            return array_map(fn ($data) => $this->populateObject($type, $data, false, $info), $data);
78
+            return array_map(fn($data) => $this->populateObject($type, $data, false, $info), $data);
79 79
         }
80 80
 
81 81
         if ($type instanceof EnumType) {
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/TaggedServiceMappingPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     private function autowireSolutionImplementingContainerAwareInterface(Definition $solutionDefinition, bool $isGenerated): void
97 97
     {
98 98
         $methods = array_map(
99
-            fn ($methodCall) => $methodCall[0],
99
+            fn($methodCall) => $methodCall[0],
100 100
             $solutionDefinition->getMethodCalls()
101 101
         );
102 102
         if (
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/ConfigParserPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     private function checkTypesDuplication(array $typeConfigs): void
157 157
     {
158 158
         $types = array_merge(...array_map('array_keys', $typeConfigs));
159
-        $duplications = array_keys(array_filter(array_count_values($types), fn ($count) => $count > 1));
159
+        $duplications = array_keys(array_filter(array_count_values($types), fn($count) => $count > 1));
160 160
         if (!empty($duplications)) {
161 161
             throw new ForbiddenOverwriteException(sprintf(
162 162
                 'Types (%s) cannot be overwritten. See inheritance doc section for more details.',
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -219,8 +219,8 @@  discard block
 block discarded – undo
219 219
         // @phpstan-ignore-next-line
220 220
         $node
221 221
             ->beforeNormalization()
222
-                ->ifTrue(fn ($v) => isset($v['query']) && is_string($v['query']) || isset($v['mutation']) && is_string($v['mutation']))
223
-                ->then(fn ($v) => ['default' => $v])
222
+                ->ifTrue(fn($v) => isset($v['query']) && is_string($v['query']) || isset($v['mutation']) && is_string($v['mutation']))
223
+                ->then(fn($v) => ['default' => $v])
224 224
             ->end()
225 225
             ->useAttributeAsKey('name')
226 226
             ->prototype('array')
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
                     ->prototype('array')
271 271
                         ->addDefaultsIfNotSet()
272 272
                         ->beforeNormalization()
273
-                            ->ifTrue(fn ($v) => isset($v['type']) && is_string($v['type']))
273
+                            ->ifTrue(fn($v) => isset($v['type']) && is_string($v['type']))
274 274
                             ->then(function ($v) {
275 275
                                 if ('yml' === $v['type']) {
276 276
                                     $v['types'] = ['yaml'];
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
         $node = $builder->getRootNode();
345 345
 
346 346
         $node->beforeNormalization()
347
-            ->ifTrue(fn ($v) => is_array($v) && !empty($v))
347
+            ->ifTrue(fn($v) => is_array($v) && !empty($v))
348 348
             ->then(function ($v) {
349 349
                 foreach ($v as $key => &$config) {
350 350
                     if (is_string($config)) {
@@ -382,19 +382,19 @@  discard block
 block discarded – undo
382 382
         $node = $builder->getRootNode();
383 383
 
384 384
         $node->beforeNormalization()
385
-                ->ifTrue(fn ($v) => is_string($v) && is_numeric($v))
386
-                ->then(fn ($v) => (int) $v)
385
+                ->ifTrue(fn($v) => is_string($v) && is_numeric($v))
386
+                ->then(fn($v) => (int) $v)
387 387
             ->end();
388 388
 
389 389
         $node
390 390
             ->info('Disabled if equal to false.')
391 391
             ->beforeNormalization()
392
-                ->ifTrue(fn ($v) => false === $v)
393
-                ->then(fn () => $disabledValue)
392
+                ->ifTrue(fn($v) => false === $v)
393
+                ->then(fn() => $disabledValue)
394 394
             ->end()
395 395
             ->defaultValue($disabledValue)
396 396
             ->validate()
397
-                ->ifTrue(fn ($v) => is_int($v) && $v < 0)
397
+                ->ifTrue(fn($v) => is_int($v) && $v < 0)
398 398
                 ->thenInvalid(sprintf('"%s.security.%s" must be greater or equal to 0.', self::NAME, $name))
399 399
             ->end()
400 400
         ;
Please login to merge, or discard this patch.
src/Config/ObjectTypeDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     private function treatFieldsDefaultAccess(ArrayNodeDefinition $node): void
51 51
     {
52 52
         $node->validate()
53
-            ->ifTrue(fn ($v) => array_key_exists('fieldsDefaultAccess', $v) && null !== $v['fieldsDefaultAccess'])
53
+            ->ifTrue(fn($v) => array_key_exists('fieldsDefaultAccess', $v) && null !== $v['fieldsDefaultAccess'])
54 54
             ->then(function ($v) {
55 55
                 foreach ($v['fields'] as &$field) {
56 56
                     if (array_key_exists('access', $field) && null !== $field['access']) {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     private function treatFieldsDefaultPublic(ArrayNodeDefinition $node): void
72 72
     {
73 73
         $node->validate()
74
-            ->ifTrue(fn ($v) => array_key_exists('fieldsDefaultPublic', $v) && null !== $v['fieldsDefaultPublic'])
74
+            ->ifTrue(fn($v) => array_key_exists('fieldsDefaultPublic', $v) && null !== $v['fieldsDefaultPublic'])
75 75
             ->then(function ($v) {
76 76
                 foreach ($v['fields'] as &$field) {
77 77
                     if (array_key_exists('public', $field) && null !== $field['public']) {
Please login to merge, or discard this patch.