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

Completed
Branch fix_dump_schema_cmd_default_fi... (15dace)
by Jérémiah
24:40
created
Definition/MergeFieldTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 {
16 16
     protected function getFieldsWithDefaults($fields, array $defaultFields, $forceArray = true)
17 17
     {
18
-        $callback = function () use ($fields, $defaultFields) {
18
+        $callback = function() use ($fields, $defaultFields) {
19 19
             if (empty($fields)) {
20 20
                 return $defaultFields;
21 21
             }
Please login to merge, or discard this patch.
Relay/Node/NodeField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             'args'        => [
37 37
                 'id' => ['type' => Type::nonNull(Type::id()), 'description' => 'The ID of an object'],
38 38
             ],
39
-            'resolve' => function ($obj, $args, $info) use ($idFetcher) {
39
+            'resolve' => function($obj, $args, $info) use ($idFetcher) {
40 40
                 if (empty($args['id'])) {
41 41
                     throw new \InvalidArgumentException(
42 42
                         'Argument "id" is required but not provided.'
Please login to merge, or discard this patch.
Relay/Mutation/MutationField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             'args'        => [
48 48
                 'input' => ['type' => Type::nonNull($inputType)],
49 49
             ],
50
-            'resolve' => function ($_, $input, $info) use ($mutateAndGetPayload, $name) {
50
+            'resolve' => function($_, $input, $info) use ($mutateAndGetPayload, $name) {
51 51
                 $payload = $mutateAndGetPayload($input['input'], $info);
52 52
                 $payload['clientMutationId'] = $input['input']['clientMutationId'];
53 53
 
Please login to merge, or discard this patch.
Relay/Connection/Output/ConnectionBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
             $edges,
126 126
             new PageInfo(
127 127
                 $firstEdge instanceof Edge ? $firstEdge->cursor : null,
128
-                $lastEdge instanceof Edge  ? $lastEdge->cursor : null,
128
+                $lastEdge instanceof Edge ? $lastEdge->cursor : null,
129 129
                 $last !== null ? $startOffset > $lowerBound : false,
130 130
                 $first !== null ? $endOffset < $upperBound : false
131 131
             )
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         }
179 179
         $offset = static::cursorToOffset($cursor);
180 180
 
181
-        return !is_numeric($offset) ?  $defaultOffset : (int) $offset;
181
+        return !is_numeric($offset) ? $defaultOffset : (int) $offset;
182 182
     }
183 183
 
184 184
     /**
Please login to merge, or discard this patch.
Relay/Node/PluralIdentifyingRootField.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,15 +43,14 @@
 block discarded – undo
43 43
             'description' => isset($config['description']) ? $config['description'] : null,
44 44
             'type' => Type::listOf($config['outputType']),
45 45
             'args' => $inputArgs,
46
-            'resolve' => function ($obj, $args, $info) use ($config) {
46
+            'resolve' => function($obj, $args, $info) use ($config) {
47 47
                 $inputs = $args[$config['argName']];
48 48
 
49 49
                 $data = [];
50 50
 
51 51
                 foreach ($inputs as $input) {
52 52
                     $data[$input] = is_callable($config['resolveSingleInput']) ?
53
-                        call_user_func_array($config['resolveSingleInput'], [$input, $info]) :
54
-                        null;
53
+                        call_user_func_array($config['resolveSingleInput'], [$input, $info]) : null;
55 54
                 }
56 55
 
57 56
                 return $data;
Please login to merge, or discard this patch.
Relay/Node/GlobalIdField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
             'name' => $name,
35 35
             'description' => 'The ID of an object',
36 36
             'type' => Type::nonNull(Type::id()),
37
-            'resolve' => function ($obj, $args, ResolveInfo $info) use ($idFetcher, $typeName) {
37
+            'resolve' => function($obj, $args, ResolveInfo $info) use ($idFetcher, $typeName) {
38 38
                 return GlobalId::toGlobalId(
39 39
                     !empty($typeName) ? $typeName : $info->parentType->name,
40 40
                     is_callable($idFetcher) ? call_user_func_array($idFetcher, [$obj, $info]) : (is_object($obj) ? $obj->id : $obj['id'])
Please login to merge, or discard this patch.
ExpressionLanguage/ConfigExpressionProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,37 +20,37 @@
 block discarded – undo
20 20
     public function getFunctions()
21 21
     {
22 22
         return [
23
-            new ExpressionFunction('service', function () {}, function (array $variables, $value) {
23
+            new ExpressionFunction('service', function() {}, function(array $variables, $value) {
24 24
                 return $variables['container']->get($value);
25 25
             }),
26 26
 
27
-            new ExpressionFunction('parameter', function () {}, function (array $variables, $value) {
27
+            new ExpressionFunction('parameter', function() {}, function(array $variables, $value) {
28 28
                 return $variables['container']->getParameter($value);
29 29
             }),
30 30
 
31
-            new ExpressionFunction('isTypeOf', function () {}, function (array $variables, $className) {
31
+            new ExpressionFunction('isTypeOf', function() {}, function(array $variables, $className) {
32 32
                 return $variables['value'] instanceof $className;
33 33
             }),
34 34
 
35
-            new ExpressionFunction('resolver', function () {}, function (array $variables, $alias, array $args = []) {
35
+            new ExpressionFunction('resolver', function() {}, function(array $variables, $alias, array $args = []) {
36 36
                 return $variables['container']->get('overblog_graphql.resolver_resolver')->resolve([$alias, $args]);
37 37
             }),
38 38
 
39
-            new ExpressionFunction('mutation', function () {}, function (array $variables, $alias, array $args = []) {
39
+            new ExpressionFunction('mutation', function() {}, function(array $variables, $alias, array $args = []) {
40 40
                 return $variables['container']->get('overblog_graphql.mutation_resolver')->resolve([$alias, $args]);
41 41
             }),
42 42
 
43
-            new ExpressionFunction('globalId', function () {}, function (array $variables, $id, $typeName = null) {
43
+            new ExpressionFunction('globalId', function() {}, function(array $variables, $id, $typeName = null) {
44 44
                 $type = !empty($typeName) ? $typeName : $variables['info']->parentType->name;
45 45
 
46 46
                 return GlobalId::toGlobalId($type, $id);
47 47
             }),
48 48
 
49
-            new ExpressionFunction('fromGlobalId', function () {}, function (array $variables, $globalId) {
49
+            new ExpressionFunction('fromGlobalId', function() {}, function(array $variables, $globalId) {
50 50
                 return GlobalId::fromGlobalId($globalId);
51 51
             }),
52 52
 
53
-            new ExpressionFunction('newObject', function () {}, function (array $variables, $className, array $args = []) {
53
+            new ExpressionFunction('newObject', function() {}, function(array $variables, $className, array $args = []) {
54 54
                 return (new \ReflectionClass($className))->newInstanceArgs($args);
55 55
             }),
56 56
         ];
Please login to merge, or discard this patch.
ExpressionLanguage/AuthorizationExpressionProvider.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
     public function getFunctions()
20 20
     {
21 21
         return [
22
-            new ExpressionFunction('hasRole', function () {}, function (array $variables, $role) {
22
+            new ExpressionFunction('hasRole', function() {}, function(array $variables, $role) {
23 23
                 return $variables['container']->get('security.authorization_checker')->isGranted($role);
24 24
             }),
25 25
 
26
-            new ExpressionFunction('hasAnyRole', function () {}, function (array $variables, array $roles) {
26
+            new ExpressionFunction('hasAnyRole', function() {}, function(array $variables, array $roles) {
27 27
                 foreach ($roles as $role) {
28 28
                     if ($variables['container']->get('security.authorization_checker')->isGranted($role)) {
29 29
                         return true;
@@ -33,29 +33,29 @@  discard block
 block discarded – undo
33 33
                 return false;
34 34
             }),
35 35
 
36
-            new ExpressionFunction('isAnonymous', function () {}, function (array $variables) {
36
+            new ExpressionFunction('isAnonymous', function() {}, function(array $variables) {
37 37
                 return $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_ANONYMOUSLY');
38 38
             }),
39 39
 
40
-            new ExpressionFunction('isRememberMe', function () {}, function (array $variables) {
40
+            new ExpressionFunction('isRememberMe', function() {}, function(array $variables) {
41 41
                 return $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_REMEMBERED');
42 42
             }),
43 43
 
44
-            new ExpressionFunction('isFullyAuthenticated', function () {}, function (array $variables) {
44
+            new ExpressionFunction('isFullyAuthenticated', function() {}, function(array $variables) {
45 45
                 return $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_FULLY');
46 46
             }),
47 47
 
48
-            new ExpressionFunction('isAuthenticated', function () {}, function (array $variables) {
48
+            new ExpressionFunction('isAuthenticated', function() {}, function(array $variables) {
49 49
                 return
50 50
                     $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_REMEMBERED')
51 51
                     || $variables['container']->get('security.authorization_checker')->isGranted('IS_AUTHENTICATED_FULLY');
52 52
             }),
53 53
 
54
-            new ExpressionFunction('hasPermission', function () {}, function (array $variables, $object, $permission) {
54
+            new ExpressionFunction('hasPermission', function() {}, function(array $variables, $object, $permission) {
55 55
                 return $variables['container']->get('security.authorization_checker')->isGranted($permission, $object);
56 56
             }),
57 57
 
58
-            new ExpressionFunction('hasAnyPermission', function () {}, function (array $variables, $object, array $permissions) {
58
+            new ExpressionFunction('hasAnyPermission', function() {}, function(array $variables, $object, array $permissions) {
59 59
                 foreach ($permissions as $permission) {
60 60
                     if ($variables['container']->get('security.authorization_checker')->isGranted($permission, $object)) {
61 61
                         return true;
Please login to merge, or discard this patch.
Resolver/Config/ResolveCallbackConfigSolution.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
             return $value;
20 20
         }
21 21
 
22
-        return function () use ($value) {
22
+        return function() use ($value) {
23 23
             $args = func_get_args();
24 24
             $result = $this->solveUsingExpressionLanguageIfNeeded(
25 25
                 $value,
Please login to merge, or discard this patch.