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 master (b6fc5f)
by Jérémiah
12:00
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.
Tests/Error/ErrorHandlerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
             ]
140 140
         );
141 141
 
142
-        $this->errorHandler->setErrorHandler(function () {
142
+        $this->errorHandler->setErrorHandler(function() {
143 143
             return [new Error('Override Error')];
144 144
         });
145 145
 
Please login to merge, or discard this patch.
Relay/Node/RawIdField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             'name'        => $name,
33 33
             'description' => 'The raw ID of an object',
34 34
             'type'        => Type::nonNull(Type::int()),
35
-            'resolve'     => function ($obj, $args, ResolveInfo $info) use ($idFetcher) {
35
+            'resolve'     => function($obj, $args, ResolveInfo $info) use ($idFetcher) {
36 36
                 return is_callable($idFetcher) ? $idFetcher($obj, $info) : $obj->id;
37 37
             },
38 38
         ];
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.
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/Node/PluralIdentifyingRootField.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,15 +41,14 @@
 block discarded – undo
41 41
             'description' => isset($config['description']) ? $config['description'] : null,
42 42
             'type'        => Type::listOf($config['outputType']),
43 43
             'args'        => $inputArgs,
44
-            'resolve'     => function ($obj, $args, $info) use ($config) {
44
+            'resolve'     => function($obj, $args, $info) use ($config) {
45 45
                 $inputs = $args[$config['argName']];
46 46
 
47 47
                 $data = [];
48 48
 
49 49
                 foreach ($inputs as $input) {
50 50
                     $data[$input] = is_callable($config['resolveSingleInput']) ?
51
-                        call_user_func_array($config['resolveSingleInput'], [$input, $info]) :
52
-                        null;
51
+                        call_user_func_array($config['resolveSingleInput'], [$input, $info]) : null;
53 52
                 }
54 53
 
55 54
                 return $data;
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.
Error/ErrorHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     private function getDefaultErrorHandler()
46 46
     {
47
-        return function (array $errors, $throwRawException) {
47
+        return function(array $errors, $throwRawException) {
48 48
             $clean = [];
49 49
 
50 50
             /** @var Error $error */
Please login to merge, or discard this patch.