Skip to content

Update according to changes in db (#333) #1568

Update according to changes in db (#333)

Update according to changes in db (#333) #1568

Triggered via push December 8, 2024 08:08
Status Success
Total duration 23m 40s
Artifacts

mutation.yml

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

Annotations

8 warnings
PHP 8.3-ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3-ubuntu-latest: src/SqlParser.php#L16
Escaped Mutant for Mutator "LessThan": --- Original +++ New @@ @@ { $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),
PHP 8.3-ubuntu-latest: src/SqlParser.php#L28
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ ':' => ($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.3-ubuntu-latest: src/SqlParser.php#L28
Escaped Mutant for Mutator "LogicalAndNegation": --- Original +++ New @@ @@ ':' => ($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.3-ubuntu-latest: src/SqlParser.php#L28
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ ':' => ($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.3-ubuntu-latest: src/SqlParser.php#L31
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ '"', "'" => $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.3-ubuntu-latest: src/SqlParser.php#L31
Escaped Mutant for Mutator "LogicalAndNegation": --- Original +++ New @@ @@ '"', "'" => $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.3-ubuntu-latest: src/SqlParser.php#L31
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ '"', "'" => $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) {