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.

Code Duplication    Length = 3-3 lines in 2 locations

Slim/App.php 2 locations

@@ 324-326 (lines=3) @@
321
    protected function processInvalidMethod(ServerRequestInterface $request, ResponseInterface $response)
322
    {
323
        $router = $this->container->get('router');
324
        if (is_callable([$request->getUri(), 'getBasePath']) && is_callable([$router, 'setBasePath'])) {
325
            $router->setBasePath($request->getUri()->getBasePath());
326
        }
327
328
        $request = $this->dispatchRouterAndPrepareRoute($request, $router);
329
        $routeInfo = $request->getAttribute('routeInfo', [RouterInterface::DISPATCH_STATUS => Dispatcher::NOT_FOUND]);
@@ 360-362 (lines=3) @@
357
    {
358
        // Ensure basePath is set
359
        $router = $this->container->get('router');
360
        if (is_callable([$request->getUri(), 'getBasePath']) && is_callable([$router, 'setBasePath'])) {
361
            $router->setBasePath($request->getUri()->getBasePath());
362
        }
363
364
        // Dispatch the Router first if the setting for this is on
365
        if ($this->container->get('settings')['determineRouteBeforeAppMiddleware'] === true) {