Remove some coverage comments
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
This commit is contained in:
parent
b980a6feb0
commit
69ffb84b33
12
src/Row.php
12
src/Row.php
@ -468,9 +468,7 @@ class Row {
|
|||||||
$this->hlOpenComment = $inComment;
|
$this->hlOpenComment = $inComment;
|
||||||
if ($changed && $this->idx + 1 < $this->parent->numRows)
|
if ($changed && $this->idx + 1 < $this->parent->numRows)
|
||||||
{
|
{
|
||||||
// @codeCoverageIgnoreStart
|
|
||||||
$this->parent->rows[$this->idx + 1]->highlight();
|
$this->parent->rows[$this->idx + 1]->highlight();
|
||||||
// @codeCoverageIgnoreEnd
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -485,9 +483,7 @@ class Row {
|
|||||||
$this->idx < $this->parent->numRows
|
$this->idx < $this->parent->numRows
|
||||||
))
|
))
|
||||||
{
|
{
|
||||||
// @codeCoverageIgnoreStart
|
|
||||||
return;
|
return;
|
||||||
// @codeCoverageIgnoreEnd
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$tokens = $this->parent->tokens[$rowNum];
|
$tokens = $this->parent->tokens[$rowNum];
|
||||||
@ -502,9 +498,7 @@ class Row {
|
|||||||
{
|
{
|
||||||
if ($offset >= $this->rsize)
|
if ($offset >= $this->rsize)
|
||||||
{
|
{
|
||||||
// @codeCoverageIgnoreStart
|
|
||||||
break;
|
break;
|
||||||
// @codeCoverageIgnoreEnd
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// A multi-line comment can end in the middle of a line...
|
// A multi-line comment can end in the middle of a line...
|
||||||
@ -526,13 +520,11 @@ class Row {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$char = $token['char']; // ?? '';
|
$char = $token['char'];
|
||||||
$charLen = strlen($char);
|
$charLen = strlen($char);
|
||||||
if ($charLen === 0 || $offset >= $this->rsize)
|
if ($charLen === 0 || $offset >= $this->rsize)
|
||||||
{
|
{
|
||||||
// @codeCoverageIgnoreStart
|
|
||||||
continue;
|
continue;
|
||||||
// @codeCoverageIgnoreEnd
|
|
||||||
}
|
}
|
||||||
$charStart = strpos($this->render, $char, $offset);
|
$charStart = strpos($this->render, $char, $offset);
|
||||||
if ($charStart === FALSE)
|
if ($charStart === FALSE)
|
||||||
@ -609,9 +601,7 @@ class Row {
|
|||||||
$this->hlOpenComment = $inComment;
|
$this->hlOpenComment = $inComment;
|
||||||
if ($changed && ($this->idx + 1) < $this->parent->numRows)
|
if ($changed && ($this->idx + 1) < $this->parent->numRows)
|
||||||
{
|
{
|
||||||
// @codeCoverageIgnoreStart
|
|
||||||
$this->parent->rows[$this->idx + 1]->highlight();
|
$this->parent->rows[$this->idx + 1]->highlight();
|
||||||
// @codeCoverageIgnoreEnd
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user