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 ( 58f81f...2679d2 )
by Steeven
05:10
created
src/Http/Router.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             $this->handleExtensionRequest();
103 103
         } else {
104 104
             $uriPath = urldecode(
105
-                parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
105
+                parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
106 106
             );
107 107
 
108 108
             $uriPathParts = explode('public/', $uriPath);
@@ -273,8 +273,8 @@  discard block
 block discarded – undo
273 273
                 );
274 274
             } elseif (preg_match("/([a-zA-Z0-9\\\]+)(@)([a-zA-Z0-9\\\]+)/", $closure, $matches)) {
275 275
                 $this->setController(
276
-                    (new Router\DataStructures\Controller($matches[ 1 ]))
277
-                        ->setRequestMethod($matches[ 3 ]),
276
+                    (new Router\DataStructures\Controller($matches[1]))
277
+                        ->setRequestMethod($matches[3]),
278 278
                     $uriSegments
279 279
                 );
280 280
             } elseif (is_string($closure) && $closure !== '') {
@@ -363,10 +363,10 @@  discard block
 block discarded – undo
363 363
                         $parameters = $controllerMethodParams;
364 364
                     } else {
365 365
                         foreach ($method->getParameters() as $index => $parameter) {
366
-                            if (isset($uriSegments[ $parameter->name ])) {
367
-                                $parameters[ $index ] = $controllerMethodParams[ $parameter->name ];
366
+                            if (isset($uriSegments[$parameter->name])) {
367
+                                $parameters[$index] = $controllerMethodParams[$parameter->name];
368 368
                             } else {
369
-                                $parameters[ $index ] = null;
369
+                                $parameters[$index] = null;
370 370
                             }
371 371
                         }
372 372
                     }
Please login to merge, or discard this patch.