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

src/OAuthClient.php 2 locations

@@ 310-313 (lines=4) @@
307
        if (400 === $response->getStatusCode()) {
308
            // check for "invalid_grant"
309
            $responseData = $response->json();
310
            if (!array_key_exists('error', $responseData) || 'invalid_grant' !== $responseData['error']) {
311
                // not an "invalid_grant", we can't deal with this here...
312
                throw new OAuthServerException($response);
313
            }
314
315
            throw new OAuthException('authorization_code was not accepted by the server');
316
        }
@@ 374-377 (lines=4) @@
371
        if (400 === $response->getStatusCode()) {
372
            // check for "invalid_grant"
373
            $responseData = $response->json();
374
            if (!array_key_exists('error', $responseData) || 'invalid_grant' !== $responseData['error']) {
375
                // not an "invalid_grant", we can't deal with this here...
376
                throw new OAuthServerException($response);
377
            }
378
379
            // delete the access_token, we assume the user revoked it
380
            $this->tokenStorage->deleteAccessToken($this->userId, $accessToken);