Skip to content

Use new column definition builder #1205

Use new column definition builder

Use new column definition builder #1205

Triggered via pull request December 13, 2024 03:26
Status Success
Total duration 19m 25s
Artifacts

mutation.yml

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

Annotations

11 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/Column.php#L45
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ public function asString() : string { $format = match ($this->getTypeCategory()) { - self::TYPE_CATEGORY_PK => '{type}{length}{check}{append}', self::TYPE_CATEGORY_NUMERIC => '{type}{length}{unsigned}{default}{notnull}{check}{append}', self::TYPE_CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append}', self::TYPE_CATEGORY_UUID_PK => '{type}{notnull}{check}{comment}{append}',
PHP 8.3-ubuntu-latest: src/Column.php#L45
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ $format = match ($this->getTypeCategory()) { self::TYPE_CATEGORY_PK => '{type}{length}{check}{append}', self::TYPE_CATEGORY_NUMERIC => '{type}{length}{unsigned}{default}{notnull}{check}{append}', - self::TYPE_CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append}', self::TYPE_CATEGORY_UUID_PK => '{type}{notnull}{check}{comment}{append}', default => '{type}{length}{default}{notnull}{check}{append}', };
PHP 8.3-ubuntu-latest: src/Column.php#L45
Escaped Mutant for Mutator "MatchArmRemoval": --- Original +++ New @@ @@ self::TYPE_CATEGORY_PK => '{type}{length}{check}{append}', self::TYPE_CATEGORY_NUMERIC => '{type}{length}{unsigned}{default}{notnull}{check}{append}', self::TYPE_CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append}', - self::TYPE_CATEGORY_UUID_PK => '{type}{notnull}{check}{comment}{append}', default => '{type}{length}{default}{notnull}{check}{append}', }; return $this->buildCompleteString($format); } }
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],