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/ApiModule.php 2 locations

@@ 144-152 (lines=9) @@
141
            $request->getHeader('HTTP_IF_NONE_MATCH', false, null)
142
        );
143
144
        if (null !== $requestedVersion) {
145
            if (in_array($folderVersion, $requestedVersion)) {
146
                //return new RemoteStorageResponse($request, 304, $folderVersion);
147
                $response = new Response(304, 'application/ld+json');
148
                $response->addHeader('ETag', '"'.$folderVersion.'"');
149
150
                return $response;
151
            }
152
        }
153
154
        $rsr = new Response(200, 'application/ld+json');
155
        $rsr->addHeader('ETag', '"'.$folderVersion.'"');
@@ 194-201 (lines=8) @@
191
        );
192
        $documentContentType = $this->remoteStorage->getContentType($path);
193
194
        if (!is_null($requestedVersion)) {
195
            if (in_array($documentVersion, $requestedVersion)) {
196
                $response = new Response(304, $documentContentType);
197
                $response->addHeader('ETag', '"'.$documentVersion.'"');
198
199
                return $response;
200
            }
201
        }
202
203
        $rsr = new Response(200, $documentContentType);
204
        $rsr->addHeader('ETag', '"'.$documentVersion.'"');