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

@@ 300-306 (lines=7) @@
297
298
    if ($server instanceof Local) {
299
        $output = $server->mustRun($command, function ($type, $buffer) use ($serverName) {
300
            if (isDebug()) {
301
                output()->writeln(array_map(function ($line) use ($serverName) {
302
                    return output()->isDecorated()
303
                        ? "[$serverName] \033[1;30m< $line\033[0m"
304
                        : "[$serverName] < $line";
305
                }, explode("\n", rtrim($buffer))), OutputInterface::OUTPUT_RAW);
306
            }
307
        });
308
    } else {
309
        $output = $server->run($command);
@@ 310-316 (lines=7) @@
307
        });
308
    } else {
309
        $output = $server->run($command);
310
        if (isDebug() && !empty($output)) {
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($output))), OutputInterface::OUTPUT_RAW);
316
        }
317
    }
318
319
    if (!empty(rtrim($output))) {