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 = 8-9 lines in 2 locations

src/fkooman/RemoteStorage/RemoteStorageService.php 2 locations

@@ 312-320 (lines=9) @@
309
            $request->getHeader('If-None-Match')
310
        );
311
312
        if (null !== $requestedVersion) {
313
            if (in_array($folderVersion, $requestedVersion)) {
314
                //return new RemoteStorageResponse($request, 304, $folderVersion);
315
                $response = new Response(304, 'application/ld+json');
316
                $response->setHeader('ETag', '"'.$folderVersion.'"');
317
318
                return $response;
319
            }
320
        }
321
322
        $rsr = new Response(200, 'application/ld+json');
323
        $rsr->setHeader('ETag', '"'.$folderVersion.'"');
@@ 361-368 (lines=8) @@
358
        );
359
        $documentContentType = $this->remoteStorage->getContentType($path);
360
361
        if (null !== $requestedVersion) {
362
            if (in_array($documentVersion, $requestedVersion)) {
363
                $response = new Response(304, $documentContentType);
364
                $response->setHeader('ETag', '"'.$documentVersion.'"');
365
366
                return $response;
367
            }
368
        }
369
370
        $rsr = new Response(200, $documentContentType);
371
        $rsr->setHeader('ETag', '"'.$documentVersion.'"');