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 ( 289fd6...a05912 )
by Rob
10s
created
Slim/App.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      */
260 260
     public function redirect($from, $to, $status = 302)
261 261
     {
262
-        $handler = function ($request, ResponseInterface $response) use ($to, $status) {
262
+        $handler = function($request, ResponseInterface $response) use ($to, $status) {
263 263
             return $response->withHeader('Location', (string)$to)->withStatus($status);
264 264
         };
265 265
 
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
         $router = $this->container->get('router');
504 504
 
505 505
         // If router hasn't been dispatched or the URI changed then dispatch
506
-        if (null === $routeInfo || ($routeInfo['request'] !== [$request->getMethod(), (string) $request->getUri()])) {
506
+        if (null === $routeInfo || ($routeInfo['request'] !== [$request->getMethod(), (string)$request->getUri()])) {
507 507
             $request = $this->dispatchRouterAndPrepareRoute($request, $router);
508 508
             $routeInfo = $request->getAttribute('routeInfo');
509 509
         }
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
             $request = $request->withAttribute('route', $route);
596 596
         }
597 597
 
598
-        $routeInfo['request'] = [$request->getMethod(), (string) $request->getUri()];
598
+        $routeInfo['request'] = [$request->getMethod(), (string)$request->getUri()];
599 599
 
600 600
         return $request->withAttribute('routeInfo', $routeInfo);
601 601
     }
@@ -624,7 +624,7 @@  discard block
 block discarded – undo
624 624
             }
625 625
             $size = $response->getBody()->getSize();
626 626
             if ($size !== null && !$response->hasHeader('Content-Length')) {
627
-                $response = $response->withHeader('Content-Length', (string) $size);
627
+                $response = $response->withHeader('Content-Length', (string)$size);
628 628
             }
629 629
         }
630 630
 
Please login to merge, or discard this patch.