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

Passed
Pull Request — 0.14 (#851)
by Jérémiah
08:23
created
ExpressionFunction/GraphQL/Relay/MutateAndGetPayloadCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             'mutateAndGetPayloadCallback',
17
-            static fn ($mutateAndGetPayload) => (
17
+            static fn($mutateAndGetPayload) => (
18 18
                 Closure::new()
19 19
                     ->addArgument('value')
20 20
                     ->bindVars(TypeGenerator::GRAPHQL_SERVICES, 'args', 'context', 'info')
Please login to merge, or discard this patch.
ExpressionLanguage/ExpressionFunction/GraphQL/Relay/IdFetcherCallback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             'idFetcherCallback',
17
-            static fn ($idFetcher) => (
17
+            static fn($idFetcher) => (
18 18
                 Closure::new()
19 19
                     ->addArgument('value')
20 20
                     ->bindVars(TypeGenerator::GRAPHQL_SERVICES, 'args', 'context', 'info')
Please login to merge, or discard this patch.
src/Request/UploadParserTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     {
82 82
         return array_reduce(
83 83
             explode('.', $location),
84
-            fn ($carry, $item) => "{$carry}[$item]"
84
+            fn($carry, $item) => "{$carry}[$item]"
85 85
         );
86 86
     }
87 87
 
Please login to merge, or discard this patch.
src/Config/Parser/AttributeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         // @phpstan-ignore-next-line
30
-        return array_map(fn (ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes);
30
+        return array_map(fn(ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes);
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Validator/Constraints/ExpressionValidator.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,9 +54,9 @@
 block discarded – undo
54 54
 
55 55
         if (!$this->expressionLanguage->evaluate($constraint->expression, $variables)) {
56 56
             $this->context->buildViolation($constraint->message)
57
-                          ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING))
58
-                          ->setCode(Expression::EXPRESSION_FAILED_ERROR)
59
-                          ->addViolation();
57
+                            ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING))
58
+                            ->setCode(Expression::EXPRESSION_FAILED_ERROR)
59
+                            ->addViolation();
60 60
         }
61 61
     }
62 62
 
Please login to merge, or discard this patch.
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.