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

@@ 174-183 (lines=10) @@
171
172
        // all of the above parameters were part of the requestUri, make sure
173
        // they are still there...
174
        foreach ($requiredParameters as $requiredParameter) {
175
            if (!array_key_exists($requiredParameter, $requestParameters)) {
176
                throw new OAuthException(
177
                    sprintf(
178
                        'request URI not valid, missing required query parameter "%s"',
179
                        $requiredParameter
180
                    )
181
                );
182
            }
183
        }
184
185
        return $requestParameters;
186
    }
@@ 204-213 (lines=10) @@
201
            'token_type',
202
        ];
203
204
        foreach ($requiredParameters as $requiredParameter) {
205
            if (!array_key_exists($requiredParameter, $tokenResponse)) {
206
                throw new OAuthException(
207
                    sprintf(
208
                        'token response not valid, missing required parameter "%s"',
209
                        $requiredParameter
210
                    )
211
                );
212
            }
213
        }
214
215
        if (!array_key_exists('scope', $tokenResponse)) {
216
            // if the token endpoint does not return a 'scope' value, the