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 Vincent
38:46 queued 13:43
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/MetadataParser/MetadataParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -420,7 +420,7 @@
 block discarded – undo
420 420
         $values = [];
421 421
 
422 422
         foreach ($reflectionClass->getConstants() as $name => $value) {
423
-            $valueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name));
423
+            $valueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name));
424 424
             $valueConfig = [];
425 425
             $valueConfig['value'] = $value;
426 426
 
Please login to merge, or discard this patch.
src/Annotation/IsPublic.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
 #[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY)]
17 17
 final class IsPublic extends Annotation implements NamedArgumentConstructorAnnotation
18 18
 {
19
-     /**
20
-     * Field publicity.
21
-     *
22
-     * @Required
23
-     * 
24
-     * @var string
25
-     */
19
+        /**
20
+         * Field publicity.
21
+         *
22
+         * @Required
23
+         * 
24
+         * @var string
25
+         */
26 26
     public string $value;
27 27
 
28 28
     public function __construct(string $value)
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.