Skip to content

Merge branch '5.11.x' #667

Merge branch '5.11.x'

Merge branch '5.11.x' #667

Triggered via push July 20, 2025 17:31
Status Success
Total duration 22m 59s
Artifacts
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Mutation tests with PHP 8.2: src/Components/CreateDefinition.php#L96
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ $tmp .= $this->key . ' '; } if (!empty($this->references)) { - $tmp .= 'REFERENCES ' . $this->references . ' '; + $tmp .= 'REFERENCES ' . $this->references; } $tmp .= $this->options; return trim($tmp);
Mutation tests with PHP 8.2: src/Components/CreateDefinition.php#L79
Escaped Mutant for Mutator "Assignment": @@ @@ { $tmp = ''; if ($this->isConstraint) { - $tmp .= 'CONSTRAINT '; + $tmp = 'CONSTRAINT '; } if (isset($this->name) && $this->name !== '') { $tmp .= Context::escape($this->name) . ' ';
Mutation tests with PHP 8.2: src/Components/Condition.php#L37
Escaped Mutant for Mutator "UnwrapTrim": @@ @@ /** @param string $expr the condition or the operator */ public function __construct(string|null $expr = null) { - $this->expr = trim((string) $expr); + $this->expr = (string) $expr; } public function build(): string {
Mutation tests with PHP 8.2: src/Components/CaseExpression.php#L75
Escaped Mutant for Mutator "LogicalAnd": @@ @@ // Syntax type 1 $valuesCount = count($this->conditions); $resultsCount = count($this->results); - for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) { + for ($i = 0; $i < $valuesCount || $i < $resultsCount; ++$i) { $ret .= 'WHEN ' . Conditions::buildAll($this->conditions[$i]) . ' '; $ret .= 'THEN ' . $this->results[$i] . ' '; }
Mutation tests with PHP 8.2: src/Components/CaseExpression.php#L75
Escaped Mutant for Mutator "LessThan": @@ @@ // Syntax type 1 $valuesCount = count($this->conditions); $resultsCount = count($this->results); - for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) { + for ($i = 0; $i < $valuesCount && $i <= $resultsCount; ++$i) { $ret .= 'WHEN ' . Conditions::buildAll($this->conditions[$i]) . ' '; $ret .= 'THEN ' . $this->results[$i] . ' '; }
Mutation tests with PHP 8.2: src/Components/CaseExpression.php#L75
Escaped Mutant for Mutator "LessThan": @@ @@ // Syntax type 1 $valuesCount = count($this->conditions); $resultsCount = count($this->results); - for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) { + for ($i = 0; $i <= $valuesCount && $i < $resultsCount; ++$i) { $ret .= 'WHEN ' . Conditions::buildAll($this->conditions[$i]) . ' '; $ret .= 'THEN ' . $this->results[$i] . ' '; }
Mutation tests with PHP 8.2: src/Components/CaseExpression.php#L67
Escaped Mutant for Mutator "LogicalAnd": @@ @@ $ret .= $this->value . ' '; $valuesCount = count($this->compareValues); $resultsCount = count($this->results); - for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) { + for ($i = 0; $i < $valuesCount || $i < $resultsCount; ++$i) { $ret .= 'WHEN ' . $this->compareValues[$i] . ' '; $ret .= 'THEN ' . $this->results[$i] . ' '; }
Mutation tests with PHP 8.2: src/Components/CaseExpression.php#L67
Escaped Mutant for Mutator "LessThan": @@ @@ $ret .= $this->value . ' '; $valuesCount = count($this->compareValues); $resultsCount = count($this->results); - for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) { + for ($i = 0; $i < $valuesCount && $i <= $resultsCount; ++$i) { $ret .= 'WHEN ' . $this->compareValues[$i] . ' '; $ret .= 'THEN ' . $this->results[$i] . ' '; }
Mutation tests with PHP 8.2: src/Components/CaseExpression.php#L67
Escaped Mutant for Mutator "LessThan": @@ @@ $ret .= $this->value . ' '; $valuesCount = count($this->compareValues); $resultsCount = count($this->results); - for ($i = 0; $i < $valuesCount && $i < $resultsCount; ++$i) { + for ($i = 0; $i <= $valuesCount && $i < $resultsCount; ++$i) { $ret .= 'WHEN ' . $this->compareValues[$i] . ' '; $ret .= 'THEN ' . $this->results[$i] . ' '; }
Mutation tests with PHP 8.2: src/Components/AlterOperation.php#L70
Escaped Mutant for Mutator "Concat": @@ @@ if (isset($this->field) && $this->field !== '') { $ret .= $this->field . ' '; } - $ret .= $afterFieldsOptions . TokensList::buildFromArray($this->unknown); + $ret .= TokensList::buildFromArray($this->unknown) . $afterFieldsOptions; if (isset($this->partitions)) { $ret .= PartitionDefinitions::buildAll($this->partitions); }