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

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