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/Security/HasAnyPermission.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
             'hasAnyPermission',
17
-            fn ($object, $permissions) => "$this->gqlServices->get('".Security::class."')->hasAnyPermission($object, $permissions)",
18
-            static fn (array $arguments, $object, $permissions) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasAnyPermission($object, $permissions)
17
+            fn($object, $permissions) => "$this->gqlServices->get('".Security::class."')->hasAnyPermission($object, $permissions)",
18
+            static fn(array $arguments, $object, $permissions) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasAnyPermission($object, $permissions)
19 19
         );
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Security/IsGranted.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
             'isGranted',
17
-            fn ($attributes, $object = 'null') => "$this->gqlServices->get('".Security::class."')->isGranted($attributes, $object)",
18
-            static fn (array $arguments, $attributes, $object = null) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isGranted($attributes, $object)
17
+            fn($attributes, $object = 'null') => "$this->gqlServices->get('".Security::class."')->isGranted($attributes, $object)",
18
+            static fn(array $arguments, $attributes, $object = null) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->isGranted($attributes, $object)
19 19
         );
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Security/HasRole.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
             'hasRole',
17
-            fn ($role) => "$this->gqlServices->get('".Security::class."')->hasRole($role)",
18
-            static fn (array $arguments, $role) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasRole($role)
17
+            fn($role) => "$this->gqlServices->get('".Security::class."')->hasRole($role)",
18
+            static fn(array $arguments, $role) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->hasRole($role)
19 19
         );
20 20
     }
21 21
 }
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->gqlServices->get('service_container')->getParameter($value)",
17
-            static fn (array $arguments, $paramName) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->getParameter($paramName)
16
+            fn(string $value) => "$this->gqlServices->get('service_container')->getParameter($value)",
17
+            static fn(array $arguments, $paramName) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->getParameter($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->gqlServices->get('service_container')->get($serviceId)",
17
-            static fn (array $arguments, $serviceId) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->get($serviceId)
16
+            fn(string $serviceId) => "$this->gqlServices->get('service_container')->get($serviceId)",
17
+            static fn(array $arguments, $serviceId) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get('service_container')->get($serviceId)
18 18
         );
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Generator/Config/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
 
46 46
     protected function normalizeFields(array $fields): array
47 47
     {
48
-        return array_map(fn (array $field) => new Field($field), $fields);
48
+        return array_map(fn(array $field) => new Field($field), $fields);
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Generator/Config/Field.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
 
46 46
     protected function normalizeArgs(array $args): array
47 47
     {
48
-        return array_map(fn (array $arg) => new Arg($arg), $args);
48
+        return array_map(fn(array $arg) => new Arg($arg), $args);
49 49
     }
50 50
 }
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
@@ -311,12 +311,12 @@
 block discarded – undo
311 311
         }
312 312
 
313 313
         if (!empty($this->config->interfaces)) {
314
-            $items = array_map(fn ($type) => "$this->gqlServices->getType('$type')", $this->config->interfaces);
314
+            $items = array_map(fn($type) => "$this->gqlServices->getType('$type')", $this->config->interfaces);
315 315
             $configLoader->addItem('interfaces', ArrowFunction::new(Collection::numeric($items, true)));
316 316
         }
317 317
 
318 318
         if (!empty($this->config->types)) {
319
-            $items = array_map(fn ($type) => "$this->gqlServices->getType('$type')", $this->config->types);
319
+            $items = array_map(fn($type) => "$this->gqlServices->getType('$type')", $this->config->types);
320 320
             $configLoader->addItem('types', ArrowFunction::new(Collection::numeric($items, true)));
321 321
         }
322 322
 
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Security/GetUser.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
             'getUser',
17
-            fn () => "$this->gqlServices->get('".Security::class."')->getUser()",
18
-            static fn (array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->getUser()
17
+            fn() => "$this->gqlServices->get('".Security::class."')->getUser()",
18
+            static fn(array $arguments) => $arguments[TypeGenerator::GRAPHQL_SERVICES]->get(Security::class)->getUser()
19 19
         );
20 20
     }
21 21
 }
Please login to merge, or discard this patch.