GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 75d2a4...68b9aa )
by Anton
03:50
created
deps/vendor/react/stream/src/ReadableResourceStream.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function __construct($stream, $loop = null, $readChunkSize = null)
49 49
     {
50 50
         if (!\is_resource($stream) || \get_resource_type($stream) !== "stream") {
51
-             throw new InvalidArgumentException('First parameter must be a valid stream resource');
51
+                throw new InvalidArgumentException('First parameter must be a valid stream resource');
52 52
         }
53 53
 
54 54
         // ensure resource is opened for reading (fopen mode must contain "r" or "+")
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
         $this->stream = $stream;
83 83
         $this->loop = $loop ?: Loop::get();
84
-        $this->bufferSize = ($readChunkSize === null) ? 65536 : (int)$readChunkSize;
84
+        $this->bufferSize = ($readChunkSize === null) ? 65536 : (int) $readChunkSize;
85 85
 
86 86
         $this->resume();
87 87
     }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function handleData()
134 134
     {
135 135
         $error = null;
136
-        \set_error_handler(function ($errno, $errstr, $errfile, $errline) use (&$error) {
136
+        \set_error_handler(function($errno, $errstr, $errfile, $errline) use (&$error) {
137 137
             $error = new \ErrorException(
138 138
                 $errstr,
139 139
                 0,
Please login to merge, or discard this patch.
deps/vendor/react/stream/src/WritableResourceStream.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 
59 59
         $this->stream = $stream;
60 60
         $this->loop = $loop ?: Loop::get();
61
-        $this->softLimit = ($writeBufferSoftLimit === null) ? 65536 : (int)$writeBufferSoftLimit;
62
-        $this->writeChunkSize = ($writeChunkSize === null) ? -1 : (int)$writeChunkSize;
61
+        $this->softLimit = ($writeBufferSoftLimit === null) ? 65536 : (int) $writeBufferSoftLimit;
62
+        $this->writeChunkSize = ($writeChunkSize === null) ? -1 : (int) $writeChunkSize;
63 63
     }
64 64
 
65 65
     public function isWritable()
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     public function handleWrite()
127 127
     {
128 128
         $error = null;
129
-        \set_error_handler(function ($_, $errstr) use (&$error) {
129
+        \set_error_handler(function($_, $errstr) use (&$error) {
130 130
             $error = $errstr;
131 131
         });
132 132
 
Please login to merge, or discard this patch.
deps/vendor/react/stream/src/DuplexResourceStream.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     public function __construct($stream, $loop = null, $readChunkSize = null, $buffer = null)
48 48
     {
49 49
         if (!\is_resource($stream) || \get_resource_type($stream) !== "stream") {
50
-             throw new InvalidArgumentException('First parameter must be a valid stream resource');
50
+                throw new InvalidArgumentException('First parameter must be a valid stream resource');
51 51
         }
52 52
 
53 53
         // ensure resource is opened for reading and wrting (fopen mode must contain "+")
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,18 +87,18 @@  discard block
 block discarded – undo
87 87
 
88 88
         $this->stream = $stream;
89 89
         $this->loop = $loop ?: Loop::get();
90
-        $this->bufferSize = ($readChunkSize === null) ? 65536 : (int)$readChunkSize;
90
+        $this->bufferSize = ($readChunkSize === null) ? 65536 : (int) $readChunkSize;
91 91
         $this->buffer = $buffer;
92 92
 
93 93
         $that = $this;
94 94
 
95
-        $this->buffer->on('error', function ($error) use ($that) {
95
+        $this->buffer->on('error', function($error) use ($that) {
96 96
             $that->emit('error', array($error));
97 97
         });
98 98
 
99 99
         $this->buffer->on('close', array($this, 'close'));
100 100
 
101
-        $this->buffer->on('drain', function () use ($that) {
101
+        $this->buffer->on('drain', function() use ($that) {
102 102
             $that->emit('drain');
103 103
         });
104 104
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     public function handleData($stream)
186 186
     {
187 187
         $error = null;
188
-        \set_error_handler(function ($errno, $errstr, $errfile, $errline) use (&$error) {
188
+        \set_error_handler(function($errno, $errstr, $errfile, $errline) use (&$error) {
189 189
             $error = new \ErrorException(
190 190
                 $errstr,
191 191
                 0,
Please login to merge, or discard this patch.
deps/vendor/react/dns/src/Resolver/Resolver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
     public function resolve($domain)
23 23
     {
24
-        return $this->resolveAll($domain, Message::TYPE_A)->then(function (array $ips) {
24
+        return $this->resolveAll($domain, Message::TYPE_A)->then(function(array $ips) {
25 25
             return $ips[array_rand($ips)];
26 26
         });
27 27
     }
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         return $this->executor->query(
35 35
             $query
36
-        )->then(function (Message $response) use ($query, $that) {
36
+        )->then(function(Message $response) use ($query, $that) {
37 37
             return $that->extractValues($query, $response);
38 38
         });
39 39
     }
@@ -133,14 +133,14 @@  discard block
 block discarded – undo
133 133
     private function filterByField(array $answers, $field, $value)
134 134
     {
135 135
         $value = strtolower($value);
136
-        return array_filter($answers, function ($answer) use ($field, $value) {
136
+        return array_filter($answers, function($answer) use ($field, $value) {
137 137
             return $value === strtolower($answer->$field);
138 138
         });
139 139
     }
140 140
 
141 141
     private function mapRecordData(array $records)
142 142
     {
143
-        return array_map(function ($record) {
143
+        return array_map(function($record) {
144 144
             return $record->data;
145 145
         }, $records);
146 146
     }
Please login to merge, or discard this patch.
deps/vendor/react/dns/src/Protocol/Parser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
             $rdata = array();
175 175
             while ($consumed < $expected) {
176 176
                 $len = ord($data[$consumed]);
177
-                $rdata[] = (string)substr($data, $consumed + 1, $len);
177
+                $rdata[] = (string) substr($data, $consumed + 1, $len);
178 178
                 $consumed += $len + 1;
179 179
             }
180 180
         } elseif (Message::TYPE_MX === $type) {
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
             \implode(
292 292
                 '.',
293 293
                 \array_map(
294
-                    function ($label) {
294
+                    function($label) {
295 295
                         return \addcslashes($label, "\0..\40.\177");
296 296
                     },
297 297
                     $labels
Please login to merge, or discard this patch.
deps/vendor/react/dns/src/Query/SelectiveTransportExecutor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
         $stream = $this->streamExecutor;
67 67
         $pending = $this->datagramExecutor->query($query);
68 68
 
69
-        return new Promise(function ($resolve, $reject) use (&$pending, $stream, $query) {
69
+        return new Promise(function($resolve, $reject) use (&$pending, $stream, $query) {
70 70
             $pending->then(
71 71
                 $resolve,
72
-                function ($e) use (&$pending, $stream, $query, $resolve, $reject) {
72
+                function($e) use (&$pending, $stream, $query, $resolve, $reject) {
73 73
                     if ($e->getCode() === (\defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90)) {
74 74
                         $pending = $stream->query($query)->then($resolve, $reject);
75 75
                     } else {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
                     }
78 78
                 }
79 79
             );
80
-        }, function () use (&$pending) {
80
+        }, function() use (&$pending) {
81 81
             $pending->cancel();
82 82
             $pending = null;
83 83
         });
Please login to merge, or discard this patch.
deps/vendor/react/dns/src/Query/FallbackExecutor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
         $fallback = $this->fallback;
22 22
         $promise = $this->executor->query($query);
23 23
 
24
-        return new Promise(function ($resolve, $reject) use (&$promise, $fallback, $query, &$cancelled) {
25
-            $promise->then($resolve, function (\Exception $e1) use ($fallback, $query, $resolve, $reject, &$cancelled, &$promise) {
24
+        return new Promise(function($resolve, $reject) use (&$promise, $fallback, $query, &$cancelled) {
25
+            $promise->then($resolve, function(\Exception $e1) use ($fallback, $query, $resolve, $reject, &$cancelled, &$promise) {
26 26
                 // reject if primary resolution rejected due to cancellation
27 27
                 if ($cancelled) {
28 28
                     $reject($e1);
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
                 }
31 31
 
32 32
                 // start fallback query if primary query rejected
33
-                $promise = $fallback->query($query)->then($resolve, function (\Exception $e2) use ($e1, $reject) {
33
+                $promise = $fallback->query($query)->then($resolve, function(\Exception $e2) use ($e1, $reject) {
34 34
                     $append = $e2->getMessage();
35 35
                     if (($pos = strpos($append, ':')) !== false) {
36 36
                         $append = substr($append, $pos + 2);
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                     $reject(new \RuntimeException($e1->getMessage() . '. ' . $append));
41 41
                 });
42 42
             });
43
-        }, function () use (&$promise, &$cancelled) {
43
+        }, function() use (&$promise, &$cancelled) {
44 44
             // cancel pending query (primary or fallback)
45 45
             $cancelled = true;
46 46
             $promise->cancel();
Please login to merge, or discard this patch.
deps/vendor/react/dns/src/Query/CachingExecutor.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -32,9 +32,9 @@  discard block
 block discarded – undo
32 32
         $executor = $this->executor;
33 33
 
34 34
         $pending = $cache->get($id);
35
-        return new Promise(function ($resolve, $reject) use ($query, $id, $cache, $executor, &$pending, $that) {
35
+        return new Promise(function($resolve, $reject) use ($query, $id, $cache, $executor, &$pending, $that) {
36 36
             $pending->then(
37
-                function ($message) use ($query, $id, $cache, $executor, &$pending, $that) {
37
+                function($message) use ($query, $id, $cache, $executor, &$pending, $that) {
38 38
                     // return cached response message on cache hit
39 39
                     if ($message !== null) {
40 40
                         return $message;
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
                     // perform DNS lookup if not already cached
44 44
                     return $pending = $executor->query($query)->then(
45
-                        function (Message $message) use ($cache, $id, $that) {
45
+                        function(Message $message) use ($cache, $id, $that) {
46 46
                             // DNS response message received => store in cache when not truncated and return
47 47
                             if (!$message->tc) {
48 48
                                 $cache->set($id, $message, $that->ttl($message));
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
                         }
53 53
                     );
54 54
                 }
55
-            )->then($resolve, function ($e) use ($reject, &$pending) {
55
+            )->then($resolve, function($e) use ($reject, &$pending) {
56 56
                 $reject($e);
57 57
                 $pending = null;
58 58
             });
59
-        }, function ($_, $reject) use (&$pending, $query) {
59
+        }, function($_, $reject) use (&$pending, $query) {
60 60
             $reject(new \RuntimeException('DNS query for ' . $query->describe() . ' has been cancelled'));
61 61
             $pending->cancel();
62 62
             $pending = null;
Please login to merge, or discard this patch.
deps/vendor/react/dns/src/Query/CoopExecutor.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
             $this->pending[$key] = $promise;
59 59
             $this->counts[$key] = 1;
60 60
 
61
-            $pending =& $this->pending;
62
-            $counts =& $this->counts;
63
-            $promise->then(function () use ($key, &$pending, &$counts) {
61
+            $pending = & $this->pending;
62
+            $counts = & $this->counts;
63
+            $promise->then(function() use ($key, &$pending, &$counts) {
64 64
                 unset($pending[$key], $counts[$key]);
65
-            }, function () use ($key, &$pending, &$counts) {
65
+            }, function() use ($key, &$pending, &$counts) {
66 66
                 unset($pending[$key], $counts[$key]);
67 67
             });
68 68
         }
@@ -70,11 +70,11 @@  discard block
 block discarded – undo
70 70
         // Return a child promise awaiting the pending query.
71 71
         // Cancelling this child promise should only cancel the pending query
72 72
         // when no other child promise is awaiting the same query.
73
-        $pending =& $this->pending;
74
-        $counts =& $this->counts;
75
-        return new Promise(function ($resolve, $reject) use ($promise) {
73
+        $pending = & $this->pending;
74
+        $counts = & $this->counts;
75
+        return new Promise(function($resolve, $reject) use ($promise) {
76 76
             $promise->then($resolve, $reject);
77
-        }, function () use (&$promise, $key, $query, &$pending, &$counts) {
77
+        }, function() use (&$promise, $key, $query, &$pending, &$counts) {
78 78
             if (--$counts[$key] < 1) {
79 79
                 unset($pending[$key], $counts[$key]);
80 80
                 $promise->cancel();
Please login to merge, or discard this patch.