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 ( a8b84b...aba133 )
by masaru
02:24
created
src/Monar/TwoChanDriver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $parsed = parse_url($this->url);
92 92
         $paths = $this->renewArray(explode('/', parse_url($this->url, PHP_URL_PATH)));
93 93
 
94
-        $this->baseUrl = $parsed['scheme'] . '://' . $parsed['host'];
94
+        $this->baseUrl = $parsed['scheme'].'://'.$parsed['host'];
95 95
         $this->category = '';
96 96
 
97 97
         if (count($paths) === 1) {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $lines = array_filter(explode("\n", $body), 'strlen');
116 116
         $number = 0;
117 117
 
118
-        return collect(array_map(function ($line) use (&$number) {
118
+        return collect(array_map(function($line) use (&$number) {
119 119
             $number++;
120 120
             list($name, $email, $date, $body) = explode('<>', $line);
121 121
             $name = trim(strip_tags($name));
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     {
139 139
         $threads = array_filter(explode("\n", $body), 'strlen');
140 140
 
141
-        return collect(array_map(function ($elem) {
141
+        return collect(array_map(function($elem) {
142 142
             list($id, $tmp) = explode('.dat<>', $elem);
143 143
             preg_match('/^(.*)\(([0-9]+)\)\z/', $tmp, $matches);
144 144
 
Please login to merge, or discard this patch.