Skip to content

Improve performance by direct config access #185

Improve performance by direct config access

Improve performance by direct config access #185

Triggered via pull request May 31, 2025 11:38
Status Success
Total duration 2m 19s
Artifacts

mt.yaml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L236
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}"); }
PHP 8.4 : src/Liquid/AbstractBlock.php#L234
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:
PHP 8.4 : src/Liquid/AbstractBlock.php#L234
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:
PHP 8.4 : src/Liquid/AbstractBlock.php#L216
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 }