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

routes/event.php 2 locations

@@ 337-342 (lines=6) @@
334
                    }
335
                }
336
            }
337
            else {
338
                $uploadAs[$item['id']] = $item;
339
                if ($profileid == 0) {
340
                    $profileid = $item['id'];
341
                }
342
            }
343
        }
344
        else {
345
            $uploadAs[$item['id']] = $item;
@@ 344-349 (lines=6) @@
341
                }
342
            }
343
        }
344
        else {
345
            $uploadAs[$item['id']] = $item;
346
            if ($profileid == 0) {
347
                $profileid = $item['id'];
348
            }
349
        }
350
    }
351
352
    if (isset($_POST['move']) && isset($_POST['item']) && isset($uploadAs[$_POST['profileto']])) {