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

@@ 288-297 (lines=10) @@
285
286
        $requestHeaders = [];
287
        // if we have a secret registered for the client, use it
288
        if (!is_null($this->provider->getSecret())) {
289
            $requestHeaders = [
290
                'Authorization' => sprintf(
291
                    'Basic %s',
292
                    Base64::encode(
293
                        sprintf('%s:%s', $this->provider->getClientId(), $this->provider->getSecret())
294
                    )
295
                ),
296
            ];
297
        }
298
299
        $response = $this->httpClient->send(
300
            Request::post(
@@ 389-398 (lines=10) @@
386
387
        $requestHeaders = [];
388
        // if we have a secret registered for the client, use it
389
        if (!is_null($this->provider->getSecret())) {
390
            $requestHeaders = [
391
                'Authorization' => sprintf(
392
                    'Basic %s',
393
                    Base64::encode(
394
                        sprintf('%s:%s', $this->provider->getClientId(), $this->provider->getSecret())
395
                    )
396
                ),
397
            ];
398
        }
399
400
        $response = $this->httpClient->send(
401
            Request::post(