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 ( 93e474...c8a7da )
by masaru
11:11
created
src/Monar/MonarProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function register()
10 10
     {
11
-        $this->app->bind(Factory::class, function () {
11
+        $this->app->bind(Factory::class, function() {
12 12
             return new MonarManager($this->app);
13 13
         });
14 14
 
Please login to merge, or discard this patch.
src/Monar/ShitarabaDriver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,8 +117,8 @@  discard block
 block discarded – undo
117 117
     {
118 118
         $lines = array_filter(explode("\n", $body), '\strlen');
119 119
 
120
-        return collect(array_map(function ($line) {
121
-            [$number, $name, $email, $date, $body, , $resid] = explode('<>', $line);
120
+        return collect(array_map(function($line) {
121
+            [$number, $name, $email, $date, $body,, $resid] = explode('<>', $line);
122 122
             $name = trim(strip_tags($name));
123 123
             $body = strip_tags($body, '<br>');
124 124
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
     {
138 138
         $threads = array_filter(explode("\n", $body), '\strlen');
139 139
 
140
-        return collect(array_map(function ($elem) {
140
+        return collect(array_map(function($elem) {
141 141
             [$id, $tmp] = explode('.cgi,', $elem);
142 142
             preg_match('/^(.*)\((\d+)\)\z/', $tmp, $matches);
143 143
 
Please login to merge, or discard this patch.
src/Monar/AbstractDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
         $error = $response->getHeader('ERROR');
92 92
 
93
-        if (! empty($error)) {
93
+        if (!empty($error)) {
94 94
             $errorStr = \is_array($error) ? implode(',', $error) : $error;
95 95
             throw new MonarException("url: {$url}. method: {$method}. error:{$errorStr}");
96 96
         }
Please login to merge, or discard this patch.
src/Monar/TwoChanDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
     {
161 161
         $threads = array_filter(explode("\n", $body), '\strlen');
162 162
 
163
-        return collect(array_map(function ($elem) {
163
+        return collect(array_map(function($elem) {
164 164
             [$id, $tmp] = explode('.dat<>', $elem);
165 165
             preg_match('/^(.*)\((\d+)\)\z/', $tmp, $matches);
166 166
 
Please login to merge, or discard this patch.