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

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