src/Standards/BestIt/CodeSniffer/Helper/LineHelper.php
public function removeLines(int $startLine, int $endLine): void
    {
        for ($line = $startLine; $line <= $endLine; $line++) {
            $this->removeLine($line);
        }
    }
public function removeLines(int $startLine, int $endLine): void
    {
        for ($line = $startLine; $line <= $endLine; $line++) {
            $this->removeLine($line);
        }
    }
public function removeLines ( int $ startLine , int $ endLine ) : void { for ( $ line = $ startLine ; $ line <= $ endLine ; $ line ++ ) { $ this -> removeLine ( $ line ) ; } }
Removes lines by given start and end.

@param int $startLine The first line which is to be removed
@param int $endLine The last line which is to be removed

@return void
Removes lines by given start and end .