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/OAuthClient.php 2 locations

@@ 382-391 (lines=10) @@
379
380
        // all of the above parameters were part of the requestUri, make sure
381
        // they are still there...
382
        foreach ($requiredParameters as $requiredParameter) {
383
            if (!array_key_exists($requiredParameter, $requestParameters)) {
384
                throw new OAuthException(
385
                    sprintf(
386
                        'request URI not valid, missing required query parameter "%s"',
387
                        $requiredParameter
388
                    )
389
                );
390
            }
391
        }
392
393
        return $requestParameters;
394
    }
@@ 421-430 (lines=10) @@
418
            'token_type',
419
        ];
420
421
        foreach ($requiredParameters as $requiredParameter) {
422
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
423
                throw new OAuthException(
424
                    sprintf(
425
                        'token response not valid, missing required parameter "%s"',
426
                        $requiredParameter
427
                    )
428
                );
429
            }
430
        }
431
432
        if (!array_key_exists('scope', $tokenResponse)) {
433
            // if the token endpoint does not return a 'scope' value, the