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.
Completed
Push — 3.x ( d0d965...289fd6 )
by Rob
11s
created
Slim/Http/Request.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
             $this->headers->set('Host', $this->uri->getHost() . $port);
204 204
         }
205 205
 
206
-        $this->registerMediaTypeParser('application/json', function ($input) {
206
+        $this->registerMediaTypeParser('application/json', function($input) {
207 207
             $result = json_decode($input, true);
208 208
             if (!is_array($result)) {
209 209
                 return null;
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
             return $result;
212 212
         });
213 213
 
214
-        $this->registerMediaTypeParser('application/xml', function ($input) {
214
+        $this->registerMediaTypeParser('application/xml', function($input) {
215 215
             $backup = libxml_disable_entity_loader(true);
216 216
             $backup_errors = libxml_use_internal_errors(true);
217 217
             $result = simplexml_load_string($input);
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             return $result;
225 225
         });
226 226
 
227
-        $this->registerMediaTypeParser('text/xml', function ($input) {
227
+        $this->registerMediaTypeParser('text/xml', function($input) {
228 228
             $backup = libxml_disable_entity_loader(true);
229 229
             $backup_errors = libxml_use_internal_errors(true);
230 230
             $result = simplexml_load_string($input);
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
             return $result;
238 238
         });
239 239
 
240
-        $this->registerMediaTypeParser('application/x-www-form-urlencoded', function ($input) {
240
+        $this->registerMediaTypeParser('application/x-www-form-urlencoded', function($input) {
241 241
             parse_str($input, $data);
242 242
             return $data;
243 243
         });
@@ -1033,7 +1033,7 @@  discard block
 block discarded – undo
1033 1033
         // look for a media type with a structured syntax suffix (RFC 6839)
1034 1034
         $parts = explode('+', $mediaType);
1035 1035
         if (count($parts) >= 2) {
1036
-            $mediaType = 'application/' . $parts[count($parts)-1];
1036
+            $mediaType = 'application/' . $parts[count($parts) - 1];
1037 1037
         }
1038 1038
 
1039 1039
         if (isset($this->bodyParsers[$mediaType]) === true) {
Please login to merge, or discard this patch.