Code Duplication    Length = 4-4 lines in 2 locations

src/ScriptRuntime/ScriptLoader.php 2 locations

@@ 97-100 (lines=4) @@
94
                $ignoreError = true;
95
            }
96
97
            if ($this->startsWith(self::MODIFIER_IS_TTY, $currentLine)) {
98
                $currentLine = $this->removeFromStart(self::MODIFIER_IS_TTY, $currentLine);
99
                $tty = true;
100
            }
101
102
            if ($this->startsWith(self::MODIFIER_DEFERRED_EXECUTION_PREFIX, $currentLine)) {
103
                $currentLine = $this->removeFromStart(self::MODIFIER_DEFERRED_EXECUTION_PREFIX, $currentLine);
@@ 102-105 (lines=4) @@
99
                $tty = true;
100
            }
101
102
            if ($this->startsWith(self::MODIFIER_DEFERRED_EXECUTION_PREFIX, $currentLine)) {
103
                $currentLine = $this->removeFromStart(self::MODIFIER_DEFERRED_EXECUTION_PREFIX, $currentLine);
104
                $deferred = true;
105
            }
106
107
            $this->commandBuilder
108
                ->next($currentLine, $lineNumber, $ignoreError, $tty, $deferred);