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

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