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

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