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

Completed
Pull Request — master (#693)
by Timur
23:18 queued 20:41
created
src/Definition/Builder/SchemaBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     public function getBuilder(string $name, ?string $queryAlias, ?string $mutationAlias = null, ?string $subscriptionAlias = null, array $types = []): \Closure
27 27
     {
28
-        return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema {
28
+        return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema {
29 29
             static $schema = null;
30 30
             if (null === $schema) {
31 31
                 $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types);
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
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $treeBuilder = new TreeBuilder('overblog_graphql_types');
27 27
         $rootNode = Configuration::getRootNodeWithoutDeprecation($treeBuilder, 'overblog_graphql_types');
28 28
 
29
-        $configTypeKeys = \array_map(fn ($type) => $this->normalizedConfigTypeKey($type), self::$types);
29
+        $configTypeKeys = \array_map(fn($type) => $this->normalizedConfigTypeKey($type), self::$types);
30 30
 
31 31
         $this->addBeforeNormalization($rootNode);
32 32
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                 ->end()
57 57
                 // config is renamed _{TYPE}_config
58 58
                 ->beforeNormalization()
59
-                    ->ifTrue(fn ($v) => isset($v['type']) && \is_string($v['type']))
59
+                    ->ifTrue(fn($v) => isset($v['type']) && \is_string($v['type']))
60 60
                     ->then(function ($v) {
61 61
                         $key = $this->normalizedConfigTypeKey($v['type']);
62 62
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                     ->scalarNode('class_name')
74 74
                         ->isRequired()
75 75
                         ->validate()
76
-                            ->ifTrue(fn ($name) => !\preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $name))
76
+                            ->ifTrue(fn($name) => !\preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/', $name))
77 77
                             ->thenInvalid('A valid class name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.')
78 78
                         ->end()
79 79
                     ->end()
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                 ->end()
93 93
                 // _{TYPE}_config is renamed config
94 94
                 ->validate()
95
-                    ->ifTrue(fn ($v) => isset($v[$this->normalizedConfigTypeKey($v['type'])]))
95
+                    ->ifTrue(fn($v) => isset($v[$this->normalizedConfigTypeKey($v['type'])]))
96 96
                     ->then(function ($v) {
97 97
                         $key = $this->normalizedConfigTypeKey($v['type']);
98 98
                         $v['config'] = $v[$key];
@@ -112,8 +112,8 @@  discard block
 block discarded – undo
112 112
         $node
113 113
             // process beforeNormalization (should be execute after relay normalization)
114 114
             ->beforeNormalization()
115
-                ->ifTrue(fn ($types) => \is_array($types))
116
-                ->then(fn ($types) => Config\Processor::process($types, Config\Processor::BEFORE_NORMALIZATION))
115
+                ->ifTrue(fn($types) => \is_array($types))
116
+                ->then(fn($types) => Config\Processor::process($types, Config\Processor::BEFORE_NORMALIZATION))
117 117
             ->end()
118 118
             ;
119 119
     }
Please login to merge, or discard this patch.
src/Config/TypeDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
         $node = self::createNode('name', 'scalar');
42 42
         $node->isRequired();
43 43
         $node->validate()
44
-            ->ifTrue(fn ($name) => !\preg_match('/^[_a-z][_0-9a-z]*$/i', $name))
44
+            ->ifTrue(fn($name) => !\preg_match('/^[_a-z][_0-9a-z]*$/i', $name))
45 45
             ->thenInvalid('Invalid type name "%s". (see http://spec.graphql.org/June2018/#sec-Names)')
46 46
         ->end();
47 47
 
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
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
         $prototype
21 21
             ->beforeNormalization()
22 22
                 // Allow field type short syntax (Field: Type => Field: {type: Type})
23
-                ->ifTrue(fn ($options) => \is_string($options))
24
-                ->then(fn ($options) => ['type' => $options])
23
+                ->ifTrue(fn($options) => \is_string($options))
24
+                ->then(fn($options) => ['type' => $options])
25 25
             ->end()
26 26
             ->validate()
27 27
                 // Remove empty entries
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
                     ->prototype('array')
55 55
                         // Allow arg type short syntax (Arg: Type => Arg: {type: Type})
56 56
                         ->beforeNormalization()
57
-                            ->ifTrue(fn ($options) => \is_string($options))
58
-                            ->then(fn ($options) => ['type' => $options])
57
+                            ->ifTrue(fn($options) => \is_string($options))
58
+                            ->then(fn($options) => ['type' => $options])
59 59
                         ->end()
60 60
                         ->children()
61 61
                             ->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
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
                     ->prototype('array')
22 22
                         // Allow field type short syntax (Field: Type => Field: {type: Type})
23 23
                         ->beforeNormalization()
24
-                            ->ifTrue(fn ($options) => \is_string($options))
25
-                            ->then(fn ($options) => ['type' => $options])
24
+                            ->ifTrue(fn($options) => \is_string($options))
25
+                            ->then(fn($options) => ['type' => $options])
26 26
                         ->end()
27 27
                         ->append($this->typeSection(true))
28 28
                         ->append($this->descriptionSection())
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
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
                 ->arrayNode('values')
17 17
                     ->useAttributeAsKey('name')
18 18
                     ->beforeNormalization()
19
-                        ->ifTrue(fn ($v) => \is_array($v))
19
+                        ->ifTrue(fn($v) => \is_array($v))
20 20
                         ->then(function ($v) {
21 21
                             foreach ($v as $name => &$options) {
22 22
                                 // short syntax NAME: VALUE
Please login to merge, or discard this patch.
src/Config/ObjectTypeDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     private function treatFieldsDefaultPublic(ArrayNodeDefinition $node): void
72 72
     {
73 73
         $node->validate()
74
-            ->ifTrue(fn ($v) => \array_key_exists('fieldsDefaultPublic', $v) && null !== $v['fieldsDefaultPublic'])
74
+            ->ifTrue(fn($v) => \array_key_exists('fieldsDefaultPublic', $v) && null !== $v['fieldsDefaultPublic'])
75 75
             ->then(function ($v) {
76 76
                 foreach ($v['fields'] as &$field) {
77 77
                     if (\array_key_exists('public', $field) && null !== $field['public']) {
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/DependencyInjection/Parameter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
     {
14 14
         parent::__construct(
15 15
             $name,
16
-            fn (string $value) => "$this->globalVars->get('container')->getParameter($value)",
17
-            fn ($arguments, $paramName) => $parameterBag->get($paramName)
16
+            fn(string $value) => "$this->globalVars->get('container')->getParameter($value)",
17
+            fn($arguments, $paramName) => $parameterBag->get($paramName)
18 18
         );
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/DependencyInjection/Service.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
     {
14 14
         parent::__construct(
15 15
             $name,
16
-            fn (string $serviceId) => "$this->globalVars->get('container')->get($serviceId)",
17
-            fn ($arguments, $serviceId) => $container->get($serviceId)
16
+            fn(string $serviceId) => "$this->globalVars->get('container')->get($serviceId)",
17
+            fn($arguments, $serviceId) => $container->get($serviceId)
18 18
         );
19 19
     }
20 20
 }
Please login to merge, or discard this patch.