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

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