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

@@ 165-174 (lines=10) @@
162
163
        // all of the above parameters were part of the requestUri, make sure
164
        // they are still there...
165
        foreach ($requiredParameters as $requiredParameter) {
166
            if (!array_key_exists($requiredParameter, $requestParameters)) {
167
                throw new OAuthException(
168
                    sprintf(
169
                        'request URI not valid, missing required query parameter "%s"',
170
                        $requiredParameter
171
                    )
172
                );
173
            }
174
        }
175
176
        return $requestParameters;
177
    }
@@ 195-204 (lines=10) @@
192
            'token_type',
193
        ];
194
195
        foreach ($requiredParameters as $requiredParameter) {
196
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
197
                throw new OAuthException(
198
                    sprintf(
199
                        'token response not valid, missing required parameter "%s"',
200
                        $requiredParameter
201
                    )
202
                );
203
            }
204
        }
205
206
        if (!array_key_exists('scope', $tokenResponse)) {
207
            // if the token endpoint does not return a 'scope' value, the