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

@@ 322-324 (lines=3) @@
319
    protected function processInvalidMethod(ServerRequestInterface $request, ResponseInterface $response)
320
    {
321
        $router = $this->container->get('router');
322
        if (is_callable([$request->getUri(), 'getBasePath']) && is_callable([$router, 'setBasePath'])) {
323
            $router->setBasePath($request->getUri()->getBasePath());
324
        }
325
326
        $request = $this->dispatchRouterAndPrepareRoute($request, $router);
327
        $routeInfo = $request->getAttribute('routeInfo', [RouterInterface::DISPATCH_STATUS => Dispatcher::NOT_FOUND]);
@@ 358-360 (lines=3) @@
355
    {
356
        // Ensure basePath is set
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
        // Dispatch the Router first if the setting for this is on
363
        if ($this->container->get('settings')['determineRouteBeforeAppMiddleware'] === true) {