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 (#851)
by Jérémiah
01:50
created
src/ExpressionLanguage/ExpressionFunction/GraphQL/Relay/FromGlobalID.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             'fromGlobalId',
17
-            static fn ($globalId) => sprintf('\%s::fromGlobalId(%s)', GlobalIdHelper::class, $globalId),
18
-            static fn ($_, $globalId) => GlobalIdHelper::fromGlobalId($globalId)
17
+            static fn($globalId) => sprintf('\%s::fromGlobalId(%s)', GlobalIdHelper::class, $globalId),
18
+            static fn($_, $globalId) => GlobalIdHelper::fromGlobalId($globalId)
19 19
         );
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/GraphQL/IsTypeOf.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             'isTypeOf',
15
-            static fn ($className) => "((\$className = $className) && \$value instanceof \$className)",
16
-            static fn ($arguments, $className) => $className && $arguments['parentValue'] instanceof $className
15
+            static fn($className) => "((\$className = $className) && \$value instanceof \$className)",
16
+            static fn($arguments, $className) => $className && $arguments['parentValue'] instanceof $className
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Call.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             'call',
15
-            fn (string $target, string $args = '[]') => "$target(...$args)",
16
-            fn ($_, callable $target, array $args) => $target(...$args)
15
+            fn(string $target, string $args = '[]') => "$target(...$args)",
16
+            fn($_, callable $target, array $args) => $target(...$args)
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
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/Config/EnumTypeDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
                 ->arrayNode('values')
22 22
                     ->useAttributeAsKey('name')
23 23
                     ->beforeNormalization()
24
-                        ->ifTrue(fn ($v) => is_array($v))
24
+                        ->ifTrue(fn($v) => is_array($v))
25 25
                         ->then(function ($v) {
26 26
                             foreach ($v as $name => &$options) {
27 27
                                 // short syntax NAME: VALUE
Please login to merge, or discard this patch.
src/Config/TypeWithOutputFieldsDefinition.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@  discard block
 block discarded – undo
22 22
         $prototype
23 23
             ->beforeNormalization()
24 24
                 // Allow field type short syntax (Field: Type => Field: {type: Type})
25
-                ->ifTrue(fn ($options) => is_string($options))
26
-                ->then(fn ($options) => ['type' => $options])
25
+                ->ifTrue(fn($options) => is_string($options))
26
+                ->then(fn($options) => ['type' => $options])
27 27
             ->end()
28 28
             ->validate()
29 29
                 // Remove empty entries
@@ -56,8 +56,8 @@  discard block
 block discarded – undo
56 56
                     ->prototype('array')
57 57
                         // Allow arg type short syntax (Arg: Type => Arg: {type: Type})
58 58
                         ->beforeNormalization()
59
-                            ->ifTrue(fn ($options) => is_string($options))
60
-                            ->then(fn ($options) => ['type' => $options])
59
+                            ->ifTrue(fn($options) => is_string($options))
60
+                            ->then(fn($options) => ['type' => $options])
61 61
                         ->end()
62 62
                         ->children()
63 63
                             ->append($this->typeSection(true))
Please login to merge, or discard this patch.
src/Config/InputObjectTypeDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
                     ->prototype('array')
23 23
                         // Allow field type short syntax (Field: Type => Field: {type: Type})
24 24
                         ->beforeNormalization()
25
-                            ->ifTrue(fn ($options) => is_string($options))
26
-                            ->then(fn ($options) => ['type' => $options])
25
+                            ->ifTrue(fn($options) => is_string($options))
26
+                            ->then(fn($options) => ['type' => $options])
27 27
                         ->end()
28 28
                         ->append($this->typeSection(true))
29 29
                         ->append($this->descriptionSection())
Please login to merge, or discard this patch.
src/DependencyInjection/TypesConfiguration.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         /** @var ArrayNodeDefinition $rootNode */
38 38
         $rootNode = $treeBuilder->getRootNode();
39 39
 
40
-        $configTypeKeys = array_map(fn ($type) => $this->normalizedConfigTypeKey($type), self::$types);
40
+        $configTypeKeys = array_map(fn($type) => $this->normalizedConfigTypeKey($type), self::$types);
41 41
 
42 42
         $this->addBeforeNormalization($rootNode);
43 43
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 ->end()
69 69
                 // config is renamed _{TYPE}_config
70 70
                 ->beforeNormalization()
71
-                    ->ifTrue(fn ($v) => isset($v['type']) && is_string($v['type']))
71
+                    ->ifTrue(fn($v) => isset($v['type']) && is_string($v['type']))
72 72
                     ->then(function ($v) {
73 73
                         $key = $this->normalizedConfigTypeKey($v['type']);
74 74
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
                     ->scalarNode('class_name')
86 86
                         ->isRequired()
87 87
                         ->validate()
88
-                            ->ifTrue(fn ($name) => !preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $name))
88
+                            ->ifTrue(fn($name) => !preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $name))
89 89
                             ->thenInvalid('A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.')
90 90
                         ->end()
91 91
                     ->end()
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 ->end()
105 105
                 // _{TYPE}_config is renamed config
106 106
                 ->validate()
107
-                    ->ifTrue(fn ($v) => isset($v[$this->normalizedConfigTypeKey($v['type'])]))
107
+                    ->ifTrue(fn($v) => isset($v[$this->normalizedConfigTypeKey($v['type'])]))
108 108
                     ->then(function ($v) {
109 109
                         $key = $this->normalizedConfigTypeKey($v['type']);
110 110
                         $v['config'] = $v[$key];
@@ -124,8 +124,8 @@  discard block
 block discarded – undo
124 124
         $node
125 125
             // process beforeNormalization (should be execute after relay normalization)
126 126
             ->beforeNormalization()
127
-                ->ifTrue(fn ($types) => is_array($types))
128
-                ->then(fn ($types) => Config\Processor::process($types, Config\Processor::BEFORE_NORMALIZATION))
127
+                ->ifTrue(fn($types) => is_array($types))
128
+                ->then(fn($types) => Config\Processor::process($types, Config\Processor::BEFORE_NORMALIZATION))
129 129
             ->end()
130 130
             ;
131 131
     }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/NewObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             'newObject',
15
-            static fn ($className, $args = '[]') => "(new \\ReflectionClass($className))->newInstanceArgs($args)",
16
-            static fn ($arguments, $className, $args = []) => new $className(...$args)
15
+            static fn($className, $args = '[]') => "(new \\ReflectionClass($className))->newInstanceArgs($args)",
16
+            static fn($arguments, $className, $args = []) => new $className(...$args)
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.