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 ( e6c6be...173c28 )
by Jérémiah
01:29 queued 11s
created
tests/EventListener/TypeDecoratorListenerTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @dataProvider specialTypeFieldProvider
32 32
      */
33
-    public function testSpecialField($fieldName, ObjectType|UnionType|InterfaceType|CustomScalarType $typeWithSpecialField, callable $fieldValueRetriever = null, $strict = true): void
33
+    public function testSpecialField($fieldName, ObjectType | UnionType | InterfaceType | CustomScalarType $typeWithSpecialField, callable $fieldValueRetriever = null, $strict = true): void
34 34
     {
35 35
         if (null === $fieldValueRetriever) {
36
-            $fieldValueRetriever = fn (ObjectType|UnionType|InterfaceType|CustomScalarType $type, $fieldName) => $type->config[$fieldName];
36
+            $fieldValueRetriever = fn(ObjectType | UnionType | InterfaceType | CustomScalarType $type, $fieldName) => $type->config[$fieldName];
37 37
         }
38 38
         $expected = static function (): void {
39 39
         };
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
                 ];
67 67
             },
68 68
         ]);
69
-        $barResolver = static fn () => 'bar';
70
-        $bazResolver = static fn () => 'baz';
69
+        $barResolver = static fn() => 'bar';
70
+        $bazResolver = static fn() => 'baz';
71 71
 
72 72
         $this->decorate(
73 73
             [$objectType->name => $objectType],
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
             [$objectType->name => $objectType],
101 101
             [
102 102
                 $objectType->name => [
103
-                    'bar' => fn ($value, $args) => $args,
103
+                    'bar' => fn($value, $args) => $args,
104 104
                 ],
105 105
             ]
106 106
         );
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
             [
251 251
                 ResolverMapInterface::RESOLVE_FIELD,
252 252
                 $objectWithResolveField,
253
-                fn (ObjectType $type) => $type->resolveFieldFn,
253
+                fn(ObjectType $type) => $type->resolveFieldFn,
254 254
                 false,
255 255
             ],
256 256
             [ResolverMapInterface::RESOLVE_FIELD, $objectWithResolveField, null, false],
Please login to merge, or discard this patch.
src/Validator/ValidationNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     private ?ResolverArgs $__resolverArgs;
47 47
 
48 48
     public function __construct(
49
-        ObjectType|InputObjectType $type,
49
+        ObjectType | InputObjectType $type,
50 50
         string $field = null,
51 51
         ?ValidationNode $parent = null,
52 52
         ?ResolverArgs $resolverArgs = null
Please login to merge, or discard this patch.
src/EventListener/TypeDecoratorListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $this->decorateObjectTypeFields($type, $fieldsResolved, $resolverMap);
88 88
     }
89 89
 
90
-    private function decorateInterfaceOrUnionType(InterfaceType|UnionType $type, ResolverMapInterface $resolverMap): void
90
+    private function decorateInterfaceOrUnionType(InterfaceType | UnionType $type, ResolverMapInterface $resolverMap): void
91 91
     {
92 92
         $this->configTypeMapping($type, ResolverMapInterface::RESOLVE_TYPE, $resolverMap);
93 93
         $covered = $resolverMap->covered($type->name);
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $type->config['fields'] = is_callable($fields) ? $decoratedFields : $decoratedFields();
189 189
     }
190 190
 
191
-    private function configTypeMapping(ObjectType|InterfaceType|UnionType|CustomScalarType $type, string $fieldName, ResolverMapInterface $resolverMap): void
191
+    private function configTypeMapping(ObjectType | InterfaceType | UnionType | CustomScalarType $type, string $fieldName, ResolverMapInterface $resolverMap): void
192 192
     {
193 193
         if ($resolverMap->isResolvable($type->name, $fieldName)) {
194 194
             $type->config[substr($fieldName, 2)] = $resolverMap->resolve($type->name, $fieldName);
Please login to merge, or discard this patch.