Skip to content

Implement the ability for user-defined type casting #1306

Implement the ability for user-defined type casting

Implement the ability for user-defined type casting #1306

Triggered via pull request April 17, 2025 07:50
Status Success
Total duration 10m 45s
Artifacts

mutation.yml

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

Annotations

10 warnings
PHP 8.4-ubuntu-latest: src/SqlParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ '[' => ']', '<' => '>', '{' => '}', - '(' => ')', default => $this->sql[$this->position], }; ++$this->position;
PHP 8.4-ubuntu-latest: src/SqlParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ $endChar = match ($this->sql[++$this->position]) { '[' => ']', '<' => '>', - '{' => '}', '(' => ')', default => $this->sql[$this->position], };
PHP 8.4-ubuntu-latest: src/SqlParser.php#L52
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ { $endChar = match ($this->sql[++$this->position]) { '[' => ']', - '<' => '>', '{' => '}', '(' => ')', default => $this->sql[$this->position],
PHP 8.4-ubuntu-latest: src/SqlParser.php#L32
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": @@ @@ "'" => $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.4-ubuntu-latest: src/SqlParser.php#L32
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ "'" => $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.4-ubuntu-latest: src/SqlParser.php#L32
Escaped Mutant for Mutator "Increment": @@ @@ "'" => $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.4-ubuntu-latest: src/SqlParser.php#L29
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": @@ @@ '"' => $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.4-ubuntu-latest: src/SqlParser.php#L29
Escaped Mutant for Mutator "LogicalAndNegation": @@ @@ '"' => $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.4-ubuntu-latest: src/SqlParser.php#L29
Escaped Mutant for Mutator "Increment": @@ @@ '"' => $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.4-ubuntu-latest: src/Connection.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ $command->setSql($sql); } if ($this->logger !== null) { - $command->setLogger($this->logger); + } if ($this->profiler !== null) { $command->setProfiler($this->profiler);