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 = 8-8 lines in 2 locations

src/OAuth/OAuthServer.php 2 locations

@@ 291-298 (lines=8) @@
288
            $this->approvalStorage->storeApproval($approval);
289
        }
290
291
        switch ($postAuthorizeRequest['response_type']) {
292
            case 'code':
293
                return $this->handleCodeApproval($client, $postAuthorizeRequest, $userInfo);
294
            case 'token':
295
                return $this->handleTokenApproval($client, $postAuthorizeRequest, $userInfo);
296
            default:
297
                throw new BadRequestException('invalid response_type');
298
        }
299
    }
300
301
    private function handleDenial(array $postAuthorizeRequest, UserInfoInterface $userInfo)
@@ 303-310 (lines=8) @@
300
301
    private function handleDenial(array $postAuthorizeRequest, UserInfoInterface $userInfo)
302
    {
303
        switch ($postAuthorizeRequest['response_type']) {
304
            case 'code':
305
                return $this->handleCodeDenial($postAuthorizeRequest, $userInfo);
306
            case 'token':
307
                return $this->handleTokenDenial($postAuthorizeRequest, $userInfo);
308
            default:
309
                throw new BadRequestException('invalid response_type');
310
        }
311
    }
312
313
    private function handleCodeApproval(Client $client, array $postAuthorizeRequest, UserInfoInterface $userInfo)