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 Setup Failed
Push — master ( 9516e5...a6f579 )
by Vincent
21:35 queued 21s
created
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.
tests/Functional/Upload/UploadTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
                     'payload' => ['data' => ['singleUpload' => 'a.txt']],
68 68
                 ],
69 69
                 [
70
-                   'id' => 'multipleUpload',
70
+                    'id' => 'multipleUpload',
71 71
                     'payload' => ['data' => ['multipleUpload' => ['b.txt', 'c.txt']]],
72 72
                 ],
73 73
             ],
Please login to merge, or discard this patch.
tests/Config/Parser/MetadataParser/TypeGuesser/DocBlockTypeGuesserTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         // @phpstan-ignore-next-line
98 98
         $mock = $this->createMock($className);
99 99
         $mock->method('getDocComment')
100
-             ->willReturn(sprintf('/** @%s %s **/', $this->reflectors[$className], $type));
100
+                ->willReturn(sprintf('/** @%s %s **/', $this->reflectors[$className], $type));
101 101
 
102 102
         /** @var ReflectionProperty|ReflectionMethod $mock */
103 103
         return $mock;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             yield ['object', $reflectorClass, 'Tag @'.$tag.' found, but type "object" is too generic'];
96 96
             yield ['mixed[]', $reflectorClass, 'Tag @'.$tag.' found, but the array values cannot be mixed type'];
97 97
             yield ['array<mixed>', $reflectorClass, 'Tag @'.$tag.' found, but the array values cannot be mixed type'];
98
-            yield ['', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type', true];   // phpDocumentor/ReflectionDocBlock
98
+            yield ['', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type', true]; // phpDocumentor/ReflectionDocBlock
99 99
             yield ['[]', $reflectorClass, 'No @'.$tag.' tag found in doc block or tag has no type', true]; // phpDocumentor/ReflectionDocBlock
100 100
         }
101 101
     }
Please login to merge, or discard this patch.
tests/Config/Parser/MetadataParserTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     public function testUnionAutoguessed(): void
262 262
     {
263 263
         $this->expect('Killable', 'union', [
264
-            'types' => ['Hero', 'Mandalorian',  'Sith'],
264
+            'types' => ['Hero', 'Mandalorian', 'Sith'],
265 265
             'resolveType' => '@=value.getType()',
266 266
         ]);
267 267
     }
Please login to merge, or discard this patch.
tests/DependencyInjection/Compiler/ConfigParserPassTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
                                         'type' => 'Int!',
294 294
                                         'defaultValue' => 0,
295 295
                                     ],
296
-                                 ],
296
+                                    ],
297 297
                             ],
298 298
                         ],
299 299
                         'name' => 'foo',
Please login to merge, or discard this patch.
src/Annotation/Mutation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         ?string $type = null,
35 35
         ?string $resolve = null,
36 36
         ?string $complexity = null,
37
-        array|string|null $targetTypes = null
37
+        array | string | null $targetTypes = null
38 38
     ) {
39 39
         parent::__construct($name, $type, $resolve, $complexity);
40 40
         if ($targetTypes) {
Please login to merge, or discard this patch.
src/Annotation/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         ?string $type = null,
35 35
         ?string $resolve = null,
36 36
         ?string $complexity = null,
37
-        array|string|null $targetTypes = null
37
+        array | string | null $targetTypes = null
38 38
     ) {
39 39
         parent::__construct($name, $type, $resolve, $complexity);
40 40
         if ($targetTypes) {
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
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $this->decorateObjectTypeFields($type, $fieldsResolved, $resolverMap);
89 89
     }
90 90
 
91
-    private function decorateInterfaceOrUnionType(InterfaceType|UnionType $type, ResolverMapInterface $resolverMap): void
91
+    private function decorateInterfaceOrUnionType(InterfaceType | UnionType $type, ResolverMapInterface $resolverMap): void
92 92
     {
93 93
         $this->configTypeMapping($type, ResolverMapInterface::RESOLVE_TYPE, $resolverMap);
94 94
         $covered = $resolverMap->covered($type->name);
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         $type->config['fields'] = is_callable($fields) ? $decoratedFields : $decoratedFields();
211 211
     }
212 212
 
213
-    private function configTypeMapping(ObjectType|InterfaceType|UnionType|CustomScalarType $type, string $fieldName, ResolverMapInterface $resolverMap): void
213
+    private function configTypeMapping(ObjectType | InterfaceType | UnionType | CustomScalarType $type, string $fieldName, ResolverMapInterface $resolverMap): void
214 214
     {
215 215
         if ($resolverMap->isResolvable($type->name, $fieldName)) {
216 216
             /** @phpstan-ignore-next-line */
Please login to merge, or discard this patch.
tests/EventListener/TypeDecoratorListenerTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,10 +32,10 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @dataProvider specialTypeFieldProvider
34 34
      */
35
-    public function testSpecialField($fieldName, ObjectType|UnionType|InterfaceType|CustomScalarType $typeWithSpecialField, callable $fieldValueRetriever = null, $strict = true): void
35
+    public function testSpecialField($fieldName, ObjectType | UnionType | InterfaceType | CustomScalarType $typeWithSpecialField, callable $fieldValueRetriever = null, $strict = true): void
36 36
     {
37 37
         if (null === $fieldValueRetriever) {
38
-            $fieldValueRetriever = fn (ObjectType|UnionType|InterfaceType|CustomScalarType $type, $fieldName) => $type->config[$fieldName];
38
+            $fieldValueRetriever = fn (ObjectType | UnionType | InterfaceType | CustomScalarType $type, $fieldName) => $type->config[$fieldName];
39 39
         }
40 40
         $expected = static function (): void {
41 41
         };
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
             // custom scalar
292 292
             [ResolverMapInterface::SERIALIZE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => ''])],
293 293
             [ResolverMapInterface::PARSE_VALUE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => '', 'parseValue' => fn (mixed $input): mixed => ''])],
294
-            [ResolverMapInterface::PARSE_LITERAL, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => '', 'parseLiteral' => fn (Node $a, array|null $b): mixed => ''])],
294
+            [ResolverMapInterface::PARSE_LITERAL, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => '', 'parseLiteral' => fn (Node $a, array | null $b): mixed => ''])],
295 295
             [ResolverMapInterface::SCALAR_TYPE, new CustomScalarType(['name' => 'Custom', 'scalarType' => Type::string(), 'serialize' => fn (mixed $input): mixed => ''])],
296 296
         ];
297 297
     }
Please login to merge, or discard this patch.