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

@@ 410-419 (lines=10) @@
407
408
        // all of the above parameters were part of the requestUri, make sure
409
        // they are still there...
410
        foreach ($requiredParameters as $requiredParameter) {
411
            if (!array_key_exists($requiredParameter, $requestParameters)) {
412
                throw new OAuthException(
413
                    sprintf(
414
                        'request URI not valid, missing required query parameter "%s"',
415
                        $requiredParameter
416
                    )
417
                );
418
            }
419
        }
420
421
        return $requestParameters;
422
    }
@@ 449-458 (lines=10) @@
446
            'token_type',
447
        ];
448
449
        foreach ($requiredParameters as $requiredParameter) {
450
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
451
                throw new OAuthException(
452
                    sprintf(
453
                        'token response not valid, missing required parameter "%s"',
454
                        $requiredParameter
455
                    )
456
                );
457
            }
458
        }
459
460
        if (!array_key_exists('scope', $tokenResponse)) {
461
            // if the token endpoint does not return a 'scope' value, the