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

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