Remove some coverage comments
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit

This commit is contained in:
Timothy Warren 2021-04-13 15:03:17 -04:00
parent b980a6feb0
commit 69ffb84b33

View File

@ -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
}
}
}