diff --git a/src/Row.php b/src/Row.php index c54e7ec..a2d7d73 100644 --- a/src/Row.php +++ b/src/Row.php @@ -468,9 +468,7 @@ class Row { $this->hlOpenComment = $inComment; if ($changed && $this->idx + 1 < $this->parent->numRows) { - // @codeCoverageIgnoreStart $this->parent->rows[$this->idx + 1]->highlight(); - // @codeCoverageIgnoreEnd } } @@ -485,9 +483,7 @@ class Row { $this->idx < $this->parent->numRows )) { - // @codeCoverageIgnoreStart return; - // @codeCoverageIgnoreEnd } $tokens = $this->parent->tokens[$rowNum]; @@ -502,9 +498,7 @@ class Row { { if ($offset >= $this->rsize) { - // @codeCoverageIgnoreStart break; - // @codeCoverageIgnoreEnd } // A multi-line comment can end in the middle of a line... @@ -526,13 +520,11 @@ class Row { break; } - $char = $token['char']; // ?? ''; + $char = $token['char']; $charLen = strlen($char); if ($charLen === 0 || $offset >= $this->rsize) { - // @codeCoverageIgnoreStart continue; - // @codeCoverageIgnoreEnd } $charStart = strpos($this->render, $char, $offset); if ($charStart === FALSE) @@ -609,9 +601,7 @@ class Row { $this->hlOpenComment = $inComment; if ($changed && ($this->idx + 1) < $this->parent->numRows) { - // @codeCoverageIgnoreStart $this->parent->rows[$this->idx + 1]->highlight(); - // @codeCoverageIgnoreEnd } } }