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

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