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

routes/manage.php 2 locations

@@ 198-200 (lines=3) @@
195
196
        $ok = ($revision !== false);
197
198
        if ($ok && $newData) {
199
            $ok = move_uploaded_file($_FILES['document']['tmp_name'][0], $preferences['upload.folder'] . $documentDestination);
200
        }
201
202
        if ($ok) {
203
            $delivery->set('current_revision_id', $revision['id']);
@@ 343-345 (lines=3) @@
340
341
        $ok = ($document !== false);
342
343
        if ($ok && $newData) {
344
            $ok = move_uploaded_file($_FILES['document']['tmp_name'][0], $preferences['upload.folder'] . $documentDestination);
345
        }
346
347
        if ($ok) {
348
            $revision->set('original_document_id', $document['id']);