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 — master (#801)
by Vincent
22:13
created
src/Config/Parser/MetadataParser/MetadataParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -420,7 +420,7 @@
 block discarded – undo
420 420
         $values = [];
421 421
 
422 422
         foreach ($reflectionClass->getConstants() as $name => $value) {
423
-            $valueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name));
423
+            $valueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name));
424 424
             $valueConfig = [];
425 425
             $valueConfig['value'] = $value;
426 426
 
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-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/Config/Parser/MetadataParser/TypeGuesser/DocBlockTypeGuesser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
         if ($compound->getIterator()->count() > 2 || !$compound->contains($typeNull)) {
114 114
             return null;
115 115
         }
116
-        $type = current(array_filter(iterator_to_array($compound->getIterator(), false), fn (Type $type) => (string) $type !== (string) $typeNull));
116
+        $type = current(array_filter(iterator_to_array($compound->getIterator(), false), fn(Type $type) => (string) $type !== (string) $typeNull));
117 117
 
118 118
         return $type;
119 119
     }
Please login to merge, or discard this patch.