Skip to content

Refactoring

Refactoring #1615

Triggered via pull request March 16, 2025 03:19
Status Success
Total duration 32m 45s
Artifacts

mutation.yml

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

Annotations

7 warnings
PHP 8.4-ubuntu-latest: src/SqlParser.php#L31
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": @@ @@ '"', "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), '[' => $this->sql[$this->position] === '[' ? $this->skipToAfterString(']]') : $this->skipQuotedWithoutEscape(']'), '-' => $this->sql[$this->position] === '-' ? ++$this->position && $this->skipToAfterChar("\n") : null, - '/' => $this->sql[$this->position] === '*' ? ++$this->position && $this->skipToAfterString('*/') : null, + '/' => $this->sql[$this->position] === '*' ? ++$this->position && !$this->skipToAfterString('*/') : null, default => null, }; if ($result !== null) {
PHP 8.4-ubuntu-latest: src/SqlParser.php#L31
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ '"', "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), '[' => $this->sql[$this->position] === '[' ? $this->skipToAfterString(']]') : $this->skipQuotedWithoutEscape(']'), '-' => $this->sql[$this->position] === '-' ? ++$this->position && $this->skipToAfterChar("\n") : null, - '/' => $this->sql[$this->position] === '*' ? ++$this->position && $this->skipToAfterString('*/') : null, + '/' => $this->sql[$this->position] === '*' ? !(++$this->position && $this->skipToAfterString('*/')) : null, default => null, }; if ($result !== null) {
PHP 8.4-ubuntu-latest: src/SqlParser.php#L31
Escaped Mutant for Mutator "Increment": @@ @@ '"', "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), '[' => $this->sql[$this->position] === '[' ? $this->skipToAfterString(']]') : $this->skipQuotedWithoutEscape(']'), '-' => $this->sql[$this->position] === '-' ? ++$this->position && $this->skipToAfterChar("\n") : null, - '/' => $this->sql[$this->position] === '*' ? ++$this->position && $this->skipToAfterString('*/') : null, + '/' => $this->sql[$this->position] === '*' ? --$this->position && $this->skipToAfterString('*/') : null, default => null, }; if ($result !== null) {
PHP 8.4-ubuntu-latest: src/SqlParser.php#L28
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": @@ @@ ':' => ($word = $this->parseWord()) === '' ? $this->skipChars(':') : $result = ':' . $word, '"', "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), '[' => $this->sql[$this->position] === '[' ? $this->skipToAfterString(']]') : $this->skipQuotedWithoutEscape(']'), - '-' => $this->sql[$this->position] === '-' ? ++$this->position && $this->skipToAfterChar("\n") : null, + '-' => $this->sql[$this->position] === '-' ? ++$this->position && !$this->skipToAfterChar("\n") : null, '/' => $this->sql[$this->position] === '*' ? ++$this->position && $this->skipToAfterString('*/') : null, default => null, };
PHP 8.4-ubuntu-latest: src/SqlParser.php#L28
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ ':' => ($word = $this->parseWord()) === '' ? $this->skipChars(':') : $result = ':' . $word, '"', "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), '[' => $this->sql[$this->position] === '[' ? $this->skipToAfterString(']]') : $this->skipQuotedWithoutEscape(']'), - '-' => $this->sql[$this->position] === '-' ? ++$this->position && $this->skipToAfterChar("\n") : null, + '-' => $this->sql[$this->position] === '-' ? !(++$this->position && $this->skipToAfterChar("\n")) : null, '/' => $this->sql[$this->position] === '*' ? ++$this->position && $this->skipToAfterString('*/') : null, default => null, };
PHP 8.4-ubuntu-latest: src/SqlParser.php#L28
Escaped Mutant for Mutator "Increment": @@ @@ ':' => ($word = $this->parseWord()) === '' ? $this->skipChars(':') : $result = ':' . $word, '"', "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), '[' => $this->sql[$this->position] === '[' ? $this->skipToAfterString(']]') : $this->skipQuotedWithoutEscape(']'), - '-' => $this->sql[$this->position] === '-' ? ++$this->position && $this->skipToAfterChar("\n") : null, + '-' => $this->sql[$this->position] === '-' ? --$this->position && $this->skipToAfterChar("\n") : null, '/' => $this->sql[$this->position] === '*' ? ++$this->position && $this->skipToAfterString('*/') : null, default => null, };
PHP 8.4-ubuntu-latest: src/SqlParser.php#L16
Escaped Mutant for Mutator "LessThan": @@ @@ { $result = null; $length = $this->length - 1; - while ($this->position < $length) { + while ($this->position <= $length) { $pos = $this->position++; match ($this->sql[$pos]) { ':' => ($word = $this->parseWord()) === '' ? $this->skipChars(':') : $result = ':' . $word,