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

@@ 443-452 (lines=10) @@
440
441
        // all of the above parameters were part of the requestUri, make sure
442
        // they are still there...
443
        foreach ($requiredParameters as $requiredParameter) {
444
            if (!array_key_exists($requiredParameter, $requestParameters)) {
445
                throw new OAuthException(
446
                    sprintf(
447
                        'request URI not valid, missing required query parameter "%s"',
448
                        $requiredParameter
449
                    )
450
                );
451
            }
452
        }
453
454
        return $requestParameters;
455
    }
@@ 482-491 (lines=10) @@
479
            'token_type',
480
        ];
481
482
        foreach ($requiredParameters as $requiredParameter) {
483
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
484
                throw new OAuthException(
485
                    sprintf(
486
                        'token response not valid, missing required parameter "%s"',
487
                        $requiredParameter
488
                    )
489
                );
490
            }
491
        }
492
493
        if (!array_key_exists('scope', $tokenResponse)) {
494
            // if the token endpoint does not return a 'scope' value, the