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 (#695)
by Timur
23:35
created
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 ($arguments, $mapping, $data) => $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($arguments, $mapping, $data) => $transformer->getArguments($mapping, $data, $arguments['info'])
18 18
         );
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
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/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
-            fn ($className, $args = '[]') => "(new \\ReflectionClass($className))->newInstanceArgs($args)",
16
-            fn ($arguments, $className, $args = []) => new $className(...$args)
15
+            fn($className, $args = '[]') => "(new \\ReflectionClass($className))->newInstanceArgs($args)",
16
+            fn($arguments, $className, $args = []) => new $className(...$args)
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/Security/Security.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     {
51 51
         return array_reduce(
52 52
             $permissions,
53
-            fn ($isGranted, $permission) => $isGranted || $this->isGranted($permission, $object),
53
+            fn($isGranted, $permission) => $isGranted || $this->isGranted($permission, $object),
54 54
             false
55 55
         );
56 56
     }
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/ObjectTypeDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     private function treatFieldsDefaultPublic(ArrayNodeDefinition $node): void
69 69
     {
70 70
         $node->validate()
71
-            ->ifTrue(fn ($v) => array_key_exists('fieldsDefaultPublic', $v) && null !== $v['fieldsDefaultPublic'])
71
+            ->ifTrue(fn($v) => array_key_exists('fieldsDefaultPublic', $v) && null !== $v['fieldsDefaultPublic'])
72 72
             ->then(function ($v) {
73 73
                 foreach ($v['fields'] as &$field) {
74 74
                     if (array_key_exists('public', $field) && null !== $field['public']) {
Please login to merge, or discard this patch.