Skip to content

Refactor normalizeDefaultValue() (#289) #1187

Refactor normalizeDefaultValue() (#289)

Refactor normalizeDefaultValue() (#289) #1187

Triggered via push November 16, 2024 02:28
Status Success
Total duration 13m 30s
Artifacts

mutation.yml

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

Annotations

9 warnings
PHP 8.3-ubuntu-latest: src/SqlParser.php#L29
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ '"' => $this->skipToAfterChar('"'), "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), 'q', 'Q' => $this->sql[$this->position] === "'" ? $this->skipQuotedWithQ() : null, - '-' => $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#L29
Escaped Mutant for Mutator "LogicalAndNegation": --- Original +++ New @@ @@ '"' => $this->skipToAfterChar('"'), "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), 'q', 'Q' => $this->sql[$this->position] === "'" ? $this->skipQuotedWithQ() : null, - '-' => $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#L29
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ '"' => $this->skipToAfterChar('"'), "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), 'q', 'Q' => $this->sql[$this->position] === "'" ? $this->skipQuotedWithQ() : null, - '-' => $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#L32
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), 'q', 'Q' => $this->sql[$this->position] === "'" ? $this->skipQuotedWithQ() : null, '-' => $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#L32
Escaped Mutant for Mutator "LogicalAndNegation": --- Original +++ New @@ @@ "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), 'q', 'Q' => $this->sql[$this->position] === "'" ? $this->skipQuotedWithQ() : null, '-' => $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#L32
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ "'" => $this->skipQuotedWithoutEscape($this->sql[$pos]), 'q', 'Q' => $this->sql[$this->position] === "'" ? $this->skipQuotedWithQ() : null, '-' => $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#L52
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ { $endChar = match ($this->sql[++$this->position]) { '[' => ']', - '<' => '>', '{' => '}', '(' => ')', default => $this->sql[$this->position],
PHP 8.3-ubuntu-latest: src/SqlParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ $endChar = match ($this->sql[++$this->position]) { '[' => ']', '<' => '>', - '{' => '}', '(' => ')', default => $this->sql[$this->position], };
PHP 8.3-ubuntu-latest: src/SqlParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ '[' => ']', '<' => '>', '{' => '}', - '(' => ')', default => $this->sql[$this->position], }; ++$this->position;