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

@@ 358-360 (lines=3) @@
355
    protected function processInvalidMethod(ServerRequestInterface $request, ResponseInterface $response)
356
    {
357
        $router = $this->container->get('router');
358
        if (is_callable([$request->getUri(), 'getBasePath']) && is_callable([$router, 'setBasePath'])) {
359
            $router->setBasePath($request->getUri()->getBasePath());
360
        }
361
362
        $request = $this->dispatchRouterAndPrepareRoute($request, $router);
363
        $routeInfo = $request->getAttribute('routeInfo', [RouterInterface::DISPATCH_STATUS => Dispatcher::NOT_FOUND]);
@@ 394-396 (lines=3) @@
391
    {
392
        // Ensure basePath is set
393
        $router = $this->container->get('router');
394
        if (is_callable([$request->getUri(), 'getBasePath']) && is_callable([$router, 'setBasePath'])) {
395
            $router->setBasePath($request->getUri()->getBasePath());
396
        }
397
398
        // Dispatch the Router first if the setting for this is on
399
        if ($this->container->get('settings')['determineRouteBeforeAppMiddleware'] === true) {