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
Pull Request — 3.x (#2242)
by
unknown
02:43
created
Slim/Router.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 namespace Slim;
10 10
 
11 11
 use FastRoute\Dispatcher;
12
-use Psr\Container\ContainerInterface;
13 12
 use InvalidArgumentException;
14 13
 use RuntimeException;
15 14
 use Psr\Http\Message\ServerRequestInterface;
Please login to merge, or discard this patch.
Slim/App.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
         $router = $this->getContainer()->get('router');
458 458
 
459 459
         // If router hasn't been dispatched or the URI changed then dispatch
460
-        if (null === $routeInfo || ($routeInfo['request'] !== [$request->getMethod(), (string) $request->getUri()])) {
460
+        if (null === $routeInfo || ($routeInfo['request'] !== [$request->getMethod(), (string)$request->getUri()])) {
461 461
             $request = $this->dispatchRouterAndPrepareRoute($request, $router);
462 462
             $routeInfo = $request->getAttribute('routeInfo');
463 463
         }
@@ -549,7 +549,7 @@  discard block
 block discarded – undo
549 549
             $request = $request->withAttribute('route', $route);
550 550
         }
551 551
 
552
-        $routeInfo['request'] = [$request->getMethod(), (string) $request->getUri()];
552
+        $routeInfo['request'] = [$request->getMethod(), (string)$request->getUri()];
553 553
 
554 554
         return $request->withAttribute('routeInfo', $routeInfo);
555 555
     }
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
             }
579 579
             $size = $response->getBody()->getSize();
580 580
             if ($size !== null && !$response->hasHeader('Content-Length')) {
581
-                $response = $response->withHeader('Content-Length', (string) $size);
581
+                $response = $response->withHeader('Content-Length', (string)$size);
582 582
             }
583 583
         }
584 584
 
Please login to merge, or discard this patch.