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

@@ 436-445 (lines=10) @@
433
434
        // all of the above parameters were part of the requestUri, make sure
435
        // they are still there...
436
        foreach ($requiredParameters as $requiredParameter) {
437
            if (!array_key_exists($requiredParameter, $requestParameters)) {
438
                throw new OAuthException(
439
                    sprintf(
440
                        'request URI not valid, missing required query parameter "%s"',
441
                        $requiredParameter
442
                    )
443
                );
444
            }
445
        }
446
447
        return $requestParameters;
448
    }
@@ 475-484 (lines=10) @@
472
            'token_type',
473
        ];
474
475
        foreach ($requiredParameters as $requiredParameter) {
476
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
477
                throw new OAuthException(
478
                    sprintf(
479
                        'token response not valid, missing required parameter "%s"',
480
                        $requiredParameter
481
                    )
482
                );
483
            }
484
        }
485
486
        if (!array_key_exists('scope', $tokenResponse)) {
487
            // if the token endpoint does not return a 'scope' value, the