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(
@@ 352-361 (lines=10) @@
349
350
        $requestHeaders = [];
351
        // if we have a secret registered for the client, use it
352
        if (!is_null($this->provider->getSecret())) {
353
            $requestHeaders = [
354
                'Authorization' => sprintf(
355
                    'Basic %s',
356
                    Base64::encode(
357
                        sprintf('%s:%s', $this->provider->getClientId(), $this->provider->getSecret())
358
                    )
359
                ),
360
            ];
361
        }
362
363
        $response = $this->httpClient->send(
364
            Request::post(