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
Pull Request — master (#1198)
by Benjamin
13:24 queued 18s
created
src/Definition/Builder/SchemaBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
     public function getBuilder(string $name, ?string $queryAlias, ?string $mutationAlias = null, ?string $subscriptionAlias = null, array $types = []): Closure
26 26
     {
27
-        return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema {
27
+        return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema {
28 28
             static $schema = null;
29 29
             if (null === $schema) {
30 30
                 $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types);
Please login to merge, or discard this patch.
src/Validator/InputValidator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @throws ArgumentsValidationException
64 64
      */
65
-    public function validate(string|array|null $groups = null, bool $throw = true): ?ConstraintViolationListInterface
65
+    public function validate(string | array | null $groups = null, bool $throw = true): ?ConstraintViolationListInterface
66 66
     {
67 67
         $rootNode = new ValidationNode(
68 68
             $this->info->parentType,
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
         return $rootObject;
207 207
     }
208 208
 
209
-    private static function isListOfType(GeneratedTypeInterface|ListOfType|NonNull $type): bool
209
+    private static function isListOfType(GeneratedTypeInterface | ListOfType | NonNull $type): bool
210 210
     {
211 211
         if ($type instanceof ListOfType || ($type instanceof NonNull && $type->getWrappedType() instanceof ListOfType)) {
212 212
             return true;
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
         return false;
216 216
     }
217 217
 
218
-    private function createCollectionNode(array $values, ObjectType|InputObjectType $type, ValidationNode $parent): array
218
+    private function createCollectionNode(array $values, ObjectType | InputObjectType $type, ValidationNode $parent): array
219 219
     {
220 220
         $collection = [];
221 221
 
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         return $collection;
227 227
     }
228 228
 
229
-    private function createObjectNode(array $value, ObjectType|InputObjectType $type, ValidationNode $parent): ValidationNode
229
+    private function createObjectNode(array $value, ObjectType | InputObjectType $type, ValidationNode $parent): ValidationNode
230 230
     {
231 231
         /** @phpstan-ignore-next-line */
232 232
         $classValidation = static::normalizeConfig($type->config['validation'] ?? []);
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
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     private ?ResolverArgs $__resolverArgs;
50 50
 
51 51
     public function __construct(
52
-        ObjectType|InputObjectType $type,
52
+        ObjectType | InputObjectType $type,
53 53
         ?string $field = null,
54 54
         ?ValidationNode $parent = null,
55 55
         ?ResolverArgs $resolverArgs = null
Please login to merge, or discard this patch.
tests/EventListener/TypeDecoratorListenerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @dataProvider specialTypeFieldProvider
35 35
      */
36
-    public function testSpecialField($fieldName, ObjectType|UnionType|InterfaceType|CustomScalarType $typeWithSpecialField, ?callable $fieldValueRetriever = null, $strict = true): void
36
+    public function testSpecialField($fieldName, ObjectType | UnionType | InterfaceType | CustomScalarType $typeWithSpecialField, ?callable $fieldValueRetriever = null, $strict = true): void
37 37
     {
38 38
         if (null === $fieldValueRetriever) {
39
-            $fieldValueRetriever = fn (ObjectType|UnionType|InterfaceType|CustomScalarType $type, $fieldName) => $type->config[$fieldName];
39
+            $fieldValueRetriever = fn (ObjectType | UnionType | InterfaceType | CustomScalarType $type, $fieldName) => $type->config[$fieldName];
40 40
         }
41 41
         $expected = static function (): void {
42 42
         };
@@ -292,8 +292,8 @@  discard block
 block discarded – undo
292 292
             // custom scalar
293 293
             [ResolverMapInterface::SERIALIZE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => ''])],
294 294
             [ResolverMapInterface::PARSE_VALUE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => '', 'parseValue' => fn (mixed $input): mixed => ''])],
295
-            [ResolverMapInterface::PARSE_LITERAL, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => '', 'parseLiteral' => fn (Node $a, ?array $b): mixed => ''])],
296
-            [ResolverMapInterface::SCALAR_TYPE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => ''])],
295
+            [ResolverMapInterface::PARSE_LITERAL, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => '', 'parseLiteral' => fn (Node $a, ?array $b) : mixed => ''])],
296
+            [ResolverMapInterface::SCALAR_TYPE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input) : mixed => ''])],
297 297
         ];
298 298
     }
299 299
 
Please login to merge, or discard this patch.