Skip to content

Add getBounds() method to range values #1810

Add getBounds() method to range values

Add getBounds() method to range values #1810

Triggered via pull request June 15, 2026 07:54
@TigrovTigrov
synchronize #492
range-bounds
Status Success
Total duration 1h 33m 47s
Artifacts

mutation.yml

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

Annotations

11 warnings
PHP 8.5-ubuntu-latest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L192
Escaped Mutant for Mutator "FalseValue": @@ @@ private function dbTypecast(iterable $value, ColumnInterface $column): iterable { if (!is_array($value)) { - $value = iterator_to_array($value, false); + $value = iterator_to_array($value, true); } return array_map($column->dbTypecast(...), $value); } }
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L113
Escaped Mutant for Mutator "MatchArmRemoval": @@ @@ GettypeResult::INTEGER => 'int', GettypeResult::RESOURCE => 'bytea', GettypeResult::STRING => 'text', - GettypeResult::DOUBLE => '', default => null, }; }
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L49
Escaped Mutant for Mutator "Coalesce": @@ @@ { $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - return $this->buildNestedSubquery($query, $dbType, $column?->getDimension() ?? 1, $params); + return $this->buildNestedSubquery($query, $dbType, 1 ?? $column?->getDimension(), $params); } protected function buildValue(iterable $value, ArrayValue $expression, array &$params): string {
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L49
Escaped Mutant for Mutator "IncrementInteger": @@ @@ { $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - return $this->buildNestedSubquery($query, $dbType, $column?->getDimension() ?? 1, $params); + return $this->buildNestedSubquery($query, $dbType, $column?->getDimension() ?? 2, $params); } protected function buildValue(iterable $value, ArrayValue $expression, array &$params): string {
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L49
Escaped Mutant for Mutator "DecrementInteger": @@ @@ { $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - return $this->buildNestedSubquery($query, $dbType, $column?->getDimension() ?? 1, $params); + return $this->buildNestedSubquery($query, $dbType, $column?->getDimension() ?? 0, $params); } protected function buildValue(iterable $value, ArrayValue $expression, array &$params): string {
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L39
Escaped Mutant for Mutator "Coalesce": @@ @@ $param = new Param($value, DataType::STRING); $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - $typeHint = $this->getTypeHint($dbType, $column?->getDimension() ?? 1); + $typeHint = $this->getTypeHint($dbType, 1 ?? $column?->getDimension()); return $this->queryBuilder->bindParam($param, $params) . $typeHint; } protected function buildSubquery(QueryInterface $query, ArrayValue $expression, array &$params): string
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L39
Escaped Mutant for Mutator "IncrementInteger": @@ @@ $param = new Param($value, DataType::STRING); $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - $typeHint = $this->getTypeHint($dbType, $column?->getDimension() ?? 1); + $typeHint = $this->getTypeHint($dbType, $column?->getDimension() ?? 2); return $this->queryBuilder->bindParam($param, $params) . $typeHint; } protected function buildSubquery(QueryInterface $query, ArrayValue $expression, array &$params): string
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L39
Escaped Mutant for Mutator "DecrementInteger": @@ @@ $param = new Param($value, DataType::STRING); $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - $typeHint = $this->getTypeHint($dbType, $column?->getDimension() ?? 1); + $typeHint = $this->getTypeHint($dbType, $column?->getDimension() ?? 0); return $this->queryBuilder->bindParam($param, $params) . $typeHint; } protected function buildSubquery(QueryInterface $query, ArrayValue $expression, array &$params): string
PHP 8.5-ubuntu-latest: src/Builder/ArrayValueBuilder.php#L39
Escaped Mutant for Mutator "NullSafeMethodCall": @@ @@ $param = new Param($value, DataType::STRING); $column = $this->getColumn($expression); $dbType = $this->getColumnDbType($column); - $typeHint = $this->getTypeHint($dbType, $column?->getDimension() ?? 1); + $typeHint = $this->getTypeHint($dbType, $column->getDimension() ?? 1); return $this->queryBuilder->bindParam($param, $params) . $typeHint; } protected function buildSubquery(QueryInterface $query, ArrayValue $expression, array &$params): string
PHP 8.5-ubuntu-latest: src/Builder/ArrayOverlapsBuilder.php#L48
Escaped Mutant for Mutator "PregMatchRemoveDollar": @@ @@ $values = new ArrayValue($values->value); } $values = $this->queryBuilder->buildExpression($values, $params); - if (preg_match('/::\w+\[]$/', $values, $matches) === 1) { + if (preg_match('/::\w+\[]/', $values, $matches) === 1) { $typeHint = $matches[0]; return "{$column}{$typeHint} && {$values}"; }