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

src/functions.php 2 locations

@@ 310-316 (lines=7) @@
307
308
    if ($server instanceof Local) {
309
        $output = $server->mustRun($command, function ($type, $buffer) use ($serverName) {
310
            if (isDebug()) {
311
                output()->writeln(array_map(function ($line) use ($serverName) {
312
                    return output()->isDecorated()
313
                        ? "[$serverName] \033[1;30m< $line\033[0m"
314
                        : "[$serverName] < $line";
315
                }, explode("\n", rtrim($buffer))), OutputInterface::OUTPUT_RAW);
316
            }
317
        });
318
    } else {
319
        $output = $server->run($command);
@@ 320-326 (lines=7) @@
317
        });
318
    } else {
319
        $output = $server->run($command);
320
        if (isDebug() && !empty($output)) {
321
            output()->writeln(array_map(function ($line) use ($serverName) {
322
                return output()->isDecorated()
323
                    ? "[$serverName] \033[1;30m< $line\033[0m"
324
                    : "[$serverName] < $line";
325
            }, explode("\n", rtrim($output))), OutputInterface::OUTPUT_RAW);
326
        }
327
    }
328
329
    if (!empty(rtrim($output))) {