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

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