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

Passed
Pull Request — master (#801)
by Timur
22:04
created
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
-            static fn (array $arguments, $paramName) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->getParameter($paramName)
16
+            fn(string $value) => "$this->globalVars->get('container')->getParameter($value)",
17
+            static fn(array $arguments, $paramName) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->getParameter($paramName)
18 18
         );
19 19
     }
20 20
 }
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.
src/ExpressionLanguage/ExpressionFunction/GraphQL/Arguments.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
             'arguments',
16
-            fn ($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)",
17
-            static fn (array $arguments, $mapping, $data) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info'])
16
+            fn($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)",
17
+            static fn(array $arguments, $mapping, $data) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info'])
18 18
         );
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Generator/TypeBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,12 +214,12 @@
 block discarded – undo
214 214
         }
215 215
 
216 216
         if (!empty($c->interfaces)) {
217
-            $items = array_map(fn ($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $c->interfaces);
217
+            $items = array_map(fn($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $c->interfaces);
218 218
             $configLoader->addItem('interfaces', ArrowFunction::new(Collection::numeric($items, true)));
219 219
         }
220 220
 
221 221
         if (!empty($c->types)) {
222
-            $items = array_map(fn ($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $c->types);
222
+            $items = array_map(fn($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $c->types);
223 223
             $configLoader->addItem('types', ArrowFunction::new(Collection::numeric($items, true)));
224 224
         }
225 225
 
Please login to merge, or discard this patch.
src/Config/Parser/AttributeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         // @phpstan-ignore-next-line
30
-        return array_map(fn (ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes);
30
+        return array_map(fn(ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes);
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Config/Parser/MetadataParser/MetadataParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -442,7 +442,7 @@
 block discarded – undo
442 442
             $reflectionConstant = new ReflectionClassConstant($reflectionClass->getName(), $name);
443 443
             $valueConfig = self::getDescriptionConfiguration(static::getMetadatas($reflectionConstant), true);
444 444
 
445
-            $enumValueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name));
445
+            $enumValueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name));
446 446
             $valueConfig['value'] = $value;
447 447
 
448 448
             if (false !== $enumValueAnnotation) {
Please login to merge, or discard this patch.