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 (#698)
by Jérémiah
24:00
created
src/Generator/TypeBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,12 +187,12 @@
 block discarded – undo
187 187
         }
188 188
 
189 189
         if (!empty($interfaces)) {
190
-            $items = \array_map(fn ($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $interfaces);
190
+            $items = \array_map(fn($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $interfaces);
191 191
             $configLoader->addItem('interfaces', ArrowFunction::new(Collection::numeric($items, true)));
192 192
         }
193 193
 
194 194
         if (!empty($types)) {
195
-            $items = \array_map(fn ($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $types);
195
+            $items = \array_map(fn($type) => "$this->globalVars->get('typeResolver')->resolve('$type')", $types);
196 196
             $configLoader->addItem('types', ArrowFunction::new(Collection::numeric($items, true)));
197 197
         }
198 198
 
Please login to merge, or discard this patch.
src/Validator/Constraints/ExpressionValidator.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
 
56 56
         if (!$this->expressionLanguage->evaluate($constraint->expression, $variables)) {
57 57
             $this->context->buildViolation($constraint->message)
58
-                          ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING))
59
-                          ->setCode(Expression::EXPRESSION_FAILED_ERROR)
60
-                          ->addViolation();
58
+                            ->setParameter('{{ value }}', $this->formatValue($value, self::OBJECT_TO_STRING))
59
+                            ->setCode(Expression::EXPRESSION_FAILED_ERROR)
60
+                            ->addViolation();
61 61
         }
62 62
     }
63 63
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/GraphQL/Mutation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             $name,
15
-            static fn ($alias, $args = '[]') => "$this->globalVars->get('mutationResolver')->resolve([$alias, $args])"
15
+            static fn($alias, $args = '[]') => "$this->globalVars->get('mutationResolver')->resolve([$alias, $args])"
16 16
         );
17 17
     }
18 18
 }
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
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             'arguments',
15
-            static fn ($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)",
16
-            static fn (array $arguments, $mapping, $data) => $arguments['globalVariables']->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info'])
15
+            static fn($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)",
16
+            static fn(array $arguments, $mapping, $data) => $arguments['globalVariables']->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info'])
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/GraphQL/Resolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             $name,
15
-            static fn (string $alias, string $args = '[]') => "$this->globalVars->get('resolverResolver')->resolve([$alias, $args])"
15
+            static fn(string $alias, string $args = '[]') => "$this->globalVars->get('resolverResolver')->resolve([$alias, $args])"
16 16
         );
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Security/HasPermission.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
             'hasPermission',
15
-            static fn ($object, $permission) => "$this->globalVars->get('security')->hasPermission($object, $permission)",
16
-            static fn (array $arguments, $object, $permission) => $arguments['globalVariables']->get('security')->hasPermission($object, $permission)
15
+            static fn($object, $permission) => "$this->globalVars->get('security')->hasPermission($object, $permission)",
16
+            static fn(array $arguments, $object, $permission) => $arguments['globalVariables']->get('security')->hasPermission($object, $permission)
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Security/IsAuthenticated.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
             'isAuthenticated',
15
-            static fn () => "$this->globalVars->get('security')->isAuthenticated()",
16
-            static fn (array $arguments) => $arguments['globalVariables']->get('security')->isAuthenticated()
15
+            static fn() => "$this->globalVars->get('security')->isAuthenticated()",
16
+            static fn(array $arguments) => $arguments['globalVariables']->get('security')->isAuthenticated()
17 17
         );
18 18
     }
19 19
 }
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
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     {
13 13
         parent::__construct(
14 14
             'getUser',
15
-            static fn () => "$this->globalVars->get('security')->getUser()",
16
-            static fn (array $arguments) => $arguments['globalVariables']->get('security')->getUser()
15
+            static fn() => "$this->globalVars->get('security')->getUser()",
16
+            static fn(array $arguments) => $arguments['globalVariables']->get('security')->getUser()
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/ExpressionLanguage/ExpressionFunction/Security/HasAnyPermission.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
             'hasAnyPermission',
15
-            static fn ($object, $permissions) => "$this->globalVars->get('security')->hasAnyPermission($object, $permissions)",
16
-            static fn (array $arguments, $object, $permissions) => $arguments['globalVariables']->get('security')->hasAnyPermission($object, $permissions)
15
+            static fn($object, $permissions) => "$this->globalVars->get('security')->hasAnyPermission($object, $permissions)",
16
+            static fn(array $arguments, $object, $permissions) => $arguments['globalVariables']->get('security')->hasAnyPermission($object, $permissions)
17 17
         );
18 18
     }
19 19
 }
Please login to merge, or discard this patch.