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

@@ 288-294 (lines=7) @@
285
286
    if ($server instanceof Local) {
287
        $output = $server->mustRun($command, function ($type, $buffer) use ($serverName) {
288
            if (isDebug()) {
289
                output()->writeln(array_map(function ($line) use ($serverName) {
290
                    return output()->isDecorated()
291
                        ? "[$serverName] \033[1;30m< $line\033[0m"
292
                        : "[$serverName] < $line";
293
                }, explode("\n", rtrim($buffer))), OutputInterface::OUTPUT_RAW);
294
            }
295
        });
296
    } else {
297
        $output = $server->run($command);
@@ 298-304 (lines=7) @@
295
        });
296
    } else {
297
        $output = $server->run($command);
298
        if (isDebug() && !empty($output)) {
299
            output()->writeln(array_map(function ($line) use ($serverName) {
300
                return output()->isDecorated()
301
                    ? "[$serverName] \033[1;30m< $line\033[0m"
302
                    : "[$serverName] < $line";
303
            }, explode("\n", rtrim($output))), OutputInterface::OUTPUT_RAW);
304
        }
305
    }
306
307
    if (!empty(rtrim($output))) {