Code Duplication    Length = 4-4 lines in 2 locations

src/ScriptRuntime/ScriptLoader.php 2 locations

@@ 81-84 (lines=4) @@
78
                continue;
79
            }
80
81
            if ($this->startsWith(self::MODIFIER_IGNORE_ERROR_PREFIX, $currentLine)) {
82
                $currentLine = $this->removeFromStart(self::MODIFIER_IGNORE_ERROR_PREFIX, $currentLine);
83
                $ignoreError = true;
84
            }
85
86
            if ($this->startsWith(self::MODIFIER_IS_TTY, $currentLine)) {
87
                $currentLine = $this->removeFromStart(self::MODIFIER_IS_TTY, $currentLine);
@@ 86-89 (lines=4) @@
83
                $ignoreError = true;
84
            }
85
86
            if ($this->startsWith(self::MODIFIER_IS_TTY, $currentLine)) {
87
                $currentLine = $this->removeFromStart(self::MODIFIER_IS_TTY, $currentLine);
88
                $tty = true;
89
            }
90
91
            $this->commandBuilder
92
                ->next($currentLine, $lineNumber, $ignoreError, $tty);