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
Push — 0.8 ( cf78f1...d65909 )
by Jérémiah
08:04
created
Resolver/AccessResolver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
         if ($this->promiseAdapter->isThenable($result) || $result instanceof SyncPromise) {
56 56
             return $this->promiseAdapter->then(
57 57
                 new Promise($result, $this->promiseAdapter),
58
-                function ($result) use ($accessChecker, $resolveArgs) {
58
+                function($result) use ($accessChecker, $resolveArgs) {
59 59
                     return $this->processFilter($result, $accessChecker, $resolveArgs);
60 60
                 }
61 61
             );
@@ -68,14 +68,14 @@  discard block
 block discarded – undo
68 68
     {
69 69
         if (is_array($result)) {
70 70
             $result = array_map(
71
-                function ($object) use ($accessChecker, $resolveArgs) {
71
+                function($object) use ($accessChecker, $resolveArgs) {
72 72
                     return $this->hasAccess($accessChecker, $object, $resolveArgs) ? $object : null;
73 73
                 },
74 74
                 $result
75 75
             );
76 76
         } elseif ($result instanceof Connection) {
77 77
             $result->edges = array_map(
78
-                function (Edge $edge) use ($accessChecker, $resolveArgs) {
78
+                function(Edge $edge) use ($accessChecker, $resolveArgs) {
79 79
                     $edge->node = $this->hasAccess($accessChecker, $edge->node, $resolveArgs) ? $edge->node : null;
80 80
 
81 81
                     return $edge;
Please login to merge, or discard this patch.
Tests/Functional/app/Resolver/ConnectionResolver.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -56,21 +56,21 @@  discard block
 block discarded – undo
56 56
 
57 57
     public function friendsResolver($user, $args)
58 58
     {
59
-        return $this->promiseAdapter->create(function (callable $resolve) use ($user, $args) {
59
+        return $this->promiseAdapter->create(function(callable $resolve) use ($user, $args) {
60 60
             return $resolve(ConnectionBuilder::connectionFromArray($user['friends'], $args));
61 61
         });
62 62
     }
63 63
 
64 64
     public function resolveNode(Edge $edge)
65 65
     {
66
-        return $this->promiseAdapter->create(function (callable $resolve) use ($edge) {
66
+        return $this->promiseAdapter->create(function(callable $resolve) use ($edge) {
67 67
             return $resolve(isset($this->allUsers[$edge->node]) ? $this->allUsers[$edge->node] : null);
68 68
         });
69 69
     }
70 70
 
71 71
     public function resolveConnection()
72 72
     {
73
-        return $this->promiseAdapter->create(function (callable $resolve) {
73
+        return $this->promiseAdapter->create(function(callable $resolve) {
74 74
             return $resolve(count($this->allUsers) - 1);
75 75
         });
76 76
     }
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
     public function resolveQuery()
79 79
     {
80 80
         if ($this->promiseAdapter instanceof SyncPromiseAdapter) {
81
-            return new Deferred(function () {
81
+            return new Deferred(function() {
82 82
                 return $this->allUsers[0];
83 83
             });
84 84
         } elseif ($this->promiseAdapter instanceof ReactPromiseAdapter) {
85
-            return new Promise(function (callable $resolve) {
85
+            return new Promise(function(callable $resolve) {
86 86
                 return $resolve($this->allUsers[0]);
87 87
             });
88 88
         }
Please login to merge, or discard this patch.
Tests/Relay/Connection/Output/ConnectionBuilderFromPromisedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,10 +59,10 @@
 block discarded – undo
59 59
         $resolvedValue = null;
60 60
         $rejectedReason = null;
61 61
         $promise->then(
62
-            function ($value) use (&$resolvedValue) {
62
+            function($value) use (&$resolvedValue) {
63 63
                 $resolvedValue = $value;
64 64
             },
65
-            function ($reason) use (&$rejectedReason) {
65
+            function($reason) use (&$rejectedReason) {
66 66
                 $rejectedReason = $reason;
67 67
             }
68 68
         );
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
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         self::checkPromise($dataPromise);
59 59
 
60
-        return $dataPromise->then(function ($data) use ($args) {
60
+        return $dataPromise->then(function($data) use ($args) {
61 61
             return static::connectionFromArray($data, $args);
62 62
         });
63 63
     }
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     {
172 172
         self::checkPromise($dataPromise);
173 173
 
174
-        return $dataPromise->then(function ($arraySlice) use ($args, $meta) {
174
+        return $dataPromise->then(function($arraySlice) use ($args, $meta) {
175 175
             return static::connectionFromArraySlice($arraySlice, $args, $meta);
176 176
         });
177 177
     }
Please login to merge, or discard this patch.
Relay/Mutation/MutationFieldResolver.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
         $input = new Argument($args['input']);
33 33
 
34 34
         return $this->promiseAdapter->createFulfilled($mutateAndGetPayloadCallback($input, $context, $info))
35
-            ->then(function ($payload) use ($input) {
35
+            ->then(function($payload) use ($input) {
36 36
                 Resolver::setObjectOrArrayValue($payload, 'clientMutationId', $input['clientMutationId']);
37 37
 
38 38
                 return $payload;
Please login to merge, or discard this patch.
ExpressionLanguage/ConfigExpressionProvider.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -21,35 +21,35 @@  discard block
 block discarded – undo
21 21
         return [
22 22
             new ExpressionFunction(
23 23
                 'service',
24
-                function ($value) {
24
+                function($value) {
25 25
                     return sprintf('$container->get(%s)', $value);
26 26
                 }
27 27
             ),
28 28
 
29 29
             new ExpressionFunction(
30 30
                 'parameter',
31
-                function ($value) {
31
+                function($value) {
32 32
                     return sprintf('$container->getParameter(%s)', $value);
33 33
                 }
34 34
             ),
35 35
 
36 36
             new ExpressionFunction(
37 37
                 'isTypeOf',
38
-                function ($className) {
38
+                function($className) {
39 39
                     return sprintf('($className = %s) && $value instanceof $className', $className);
40 40
                 }
41 41
             ),
42 42
 
43 43
             new ExpressionFunction(
44 44
                 'resolver',
45
-                function ($alias, $args = '[]') {
45
+                function($alias, $args = '[]') {
46 46
                     return sprintf('$container->get(\'overblog_graphql.resolver_resolver\')->resolve([%s, %s])', $alias, $args);
47 47
                 }
48 48
             ),
49 49
 
50 50
             new ExpressionFunction(
51 51
                 'mutateAndGetPayloadCallback',
52
-                function ($mutateAndGetPayload) {
52
+                function($mutateAndGetPayload) {
53 53
                     $code = 'function ($value) use ('.TypeGenerator::USE_FOR_CLOSURES.', $args, $context, $info) { ';
54 54
                     $code .= 'return '.$mutateAndGetPayload.'; }';
55 55
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
             new ExpressionFunction(
61 61
                 'idFetcherCallback',
62
-                function ($idFetcher) {
62
+                function($idFetcher) {
63 63
                     $code = 'function ($value) use ('.TypeGenerator::USE_FOR_CLOSURES.', $args, $context, $info) { ';
64 64
                     $code .= 'return '.$idFetcher.'; }';
65 65
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
             new ExpressionFunction(
71 71
                 'resolveSingleInputCallback',
72
-                function ($resolveSingleInput) {
72
+                function($resolveSingleInput) {
73 73
                     $code = 'function ($value) use ('.TypeGenerator::USE_FOR_CLOSURES.', $args, $context, $info) { ';
74 74
                     $code .= 'return '.$resolveSingleInput.'; }';
75 75
 
@@ -79,14 +79,14 @@  discard block
 block discarded – undo
79 79
 
80 80
             new ExpressionFunction(
81 81
                 'mutation',
82
-                function ($alias, $args = '[]') {
82
+                function($alias, $args = '[]') {
83 83
                     return sprintf('$container->get(\'overblog_graphql.mutation_resolver\')->resolve([%s, %s])', $alias, $args);
84 84
                 }
85 85
             ),
86 86
 
87 87
             new ExpressionFunction(
88 88
                 'globalId',
89
-                function ($id, $typeName = null) {
89
+                function($id, $typeName = null) {
90 90
                     $typeNameEmpty = null === $typeName || '""' === $typeName || 'null' === $typeName || 'false' === $typeName;
91 91
 
92 92
                     return sprintf(
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
             new ExpressionFunction(
101 101
                 'fromGlobalId',
102
-                function ($globalId) {
102
+                function($globalId) {
103 103
                     return sprintf(
104 104
                         '\\Overblog\\GraphQLBundle\\Relay\\Node\\GlobalId::fromGlobalId(%s)',
105 105
                         $globalId
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
             new ExpressionFunction(
111 111
                 'newObject',
112
-                function ($className, $args = '[]') {
112
+                function($className, $args = '[]') {
113 113
                     return sprintf('(new \ReflectionClass(%s))->newInstanceArgs(%s)', $className, $args);
114 114
                 }
115 115
             ),
Please login to merge, or discard this patch.