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

src/OAuth2Client.php 2 locations

@@ 341-350 (lines=10) @@
338
339
        // all of the above parameters were part of the requestUri, make sure
340
        // they are still there...
341
        foreach ($requiredParameters as $requiredParameter) {
342
            if (!array_key_exists($requiredParameter, $requestParameters)) {
343
                throw new OAuthException(
344
                    sprintf(
345
                        'request URI not valid, missing required query parameter "%s"',
346
                        $requiredParameter
347
                    )
348
                );
349
            }
350
        }
351
352
        return $requestParameters;
353
    }
@@ 374-383 (lines=10) @@
371
            'token_type',
372
        ];
373
374
        foreach ($requiredParameters as $requiredParameter) {
375
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
376
                throw new OAuthException(
377
                    sprintf(
378
                        'token response not valid, missing required parameter "%s"',
379
                        $requiredParameter
380
                    )
381
                );
382
            }
383
        }
384
385
        if (!array_key_exists('scope', $tokenResponse)) {
386
            // if the token endpoint does not return a 'scope' value, the