Fix: htmlentities() shouldn't be called with null (#218) #142
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L188
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
/**
* An action to execute when the end tag is reached
*/
- protected function endTag()
+ private function endTag()
{
// Do nothing by default
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L206
Escaped Mutant for Mutator "Concat":
@@ @@
{
switch ($tag) {
case 'else':
- throw new ParseException($this->blockName() . " does not expect else tag");
+ throw new ParseException(" does not expect else tag" . $this->blockName());
case 'end':
throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
default:
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L206
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
{
switch ($tag) {
case 'else':
- throw new ParseException($this->blockName() . " does not expect else tag");
+ throw new ParseException(" does not expect else tag");
case 'end':
throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
default:
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "Concat":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException($this->blockName() . "'end' is not a valid delimiter for " . " tags. Use " . $this->blockDelimiter());
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException($this->blockName() . " tags. Use " . $this->blockDelimiter());
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException("'end' is not a valid delimiter for " . " tags. Use " . $this->blockDelimiter());
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "Concat":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException("'end' is not a valid delimiter for " . " tags. Use " . $this->blockName() . $this->blockDelimiter());
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . $this->blockDelimiter());
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "Concat":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . $this->blockDelimiter() . " tags. Use ");
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Run mutation testing:
src/Liquid/AbstractBlock.php#L208
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
case 'else':
throw new ParseException($this->blockName() . " does not expect else tag");
case 'end':
- throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use " . $this->blockDelimiter());
+ throw new ParseException("'end' is not a valid delimiter for " . $this->blockName() . " tags. Use ");
default:
throw new ParseException("Unknown tag {$tag}");
}
|
Loading