Skip to content

Bring src/Adapter to Mago compliance #822

Bring src/Adapter to Mago compliance

Bring src/Adapter to Mago compliance #822

Triggered via pull request November 4, 2026 06:37
Status Success
Total duration 4m 0s
Artifacts 1

continuous-integration.yml

on: pull_request
Matrix: qa / test
Matrix: qa / mago
Fit to window
Zoom out
Zoom in

Annotations

12 warnings and 14 notices
qa / Test (PHP 8.4 | locked)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
qa / Codecov
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/download-artifact@v4, actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
qa / Mutation testing: src/Sql/AbstractSql.php#L148
Escaped Mutant for Mutator "LogicalNot": @@ @@ { $hasValues = false; foreach ($arguments as $argument) { - if (! $argument instanceof Values) { + if ($argument instanceof Values) { continue; }
qa / Mutation testing: src/Sql/AbstractSql.php#L148
Escaped Mutant for Mutator "InstanceOf_": @@ @@ { $hasValues = false; foreach ($arguments as $argument) { - if (! $argument instanceof Values) { + if ($argument instanceof Values) { continue; }
qa / Mutation testing: src/Sql/AbstractSql.php#L146
Escaped Mutant for Mutator "FalseValue": @@ @@ */ protected function flattenExpressionValues(array $arguments): array { - $hasValues = false; + $hasValues = true; foreach ($arguments as $argument) { if (! $argument instanceof Values) { continue;
qa / Mutation testing: src/Sql/AbstractSql.php#L144
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ * @PARAM list<ArgumentInterface> $arguments * @return list<ArgumentInterface> */ - protected function flattenExpressionValues(array $arguments): array + private function flattenExpressionValues(array $arguments): array { $hasValues = false; foreach ($arguments as $argument) {
qa / Mutation testing: src/Sql/AbstractSql.php#L122
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ * @PARAM SqlParameters $parameters * @throws Exception\RuntimeException */ - protected function createSqlFromSpecificationAndParameters(array|string $specifications, array $parameters): string + private function createSqlFromSpecificationAndParameters(array|string $specifications, array $parameters): string { if (is_string($specifications)) { return vsprintf($specifications, $this->flattenParameterList($parameters));
qa / Mutation testing: src/Sql/AbstractSql.php#L114
Escaped Mutant for Mutator "UnwrapRtrim": @@ @@ } } - return rtrim(implode(' ', $sqls), characters: "\n ,"); + return implode(' ', $sqls); } /**
qa / Mutation testing: src/Sql/AbstractSql.php#L79
Escaped Mutant for Mutator "MethodCallRemoval": @@ @@ { $adapterPlatform ??= new DefaultAdapterPlatform(); - $this->resetRenderState(); + return $this->buildSqlString($adapterPlatform); }
qa / Mutation testing: src/ResultSet/ObjectResultSet.php#L90
Escaped Mutant for Mutator "ArrayOneItem": @@ @@ throw Exception\UnexpectedValueException::forUnreadableRow(get_debug_type($row), static::class); } - return $data; + return count($data) > 1 ? array_slice($data, 0, 1, true) : $data; } }
qa / Mutation testing: src/ResultSet/HydratingResultSet.php#L131
Escaped Mutant for Mutator "CloneRemoval": @@ @@ $data = is_array($row) ? $row : $this->getArrayData($row); $this->resolvedRowPrototype ??= $this->getRowPrototype(); - $prototype = clone $this->resolvedRowPrototype; + $prototype = $this->resolvedRowPrototype; $this->resolvedHydrator ??= $this->getHydrator();
qa / Mutation testing: src/ResultSet/HydratingResultSet.php#L130
Escaped Mutant for Mutator "AssignCoalesce": @@ @@ { $data = is_array($row) ? $row : $this->getArrayData($row); - $this->resolvedRowPrototype ??= $this->getRowPrototype(); + $this->resolvedRowPrototype = $this->getRowPrototype(); $prototype = clone $this->resolvedRowPrototype; $this->resolvedHydrator ??= $this->getHydrator();
qa / Test (PHP 8.3 | locked)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Mago (PHP 8.4)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.5 | locked)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Mago (PHP 8.3)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.4 | latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Mago (PHP 8.5)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.5 | lowest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.3 | latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.3 | lowest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.4 | lowest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.5 | latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Test (PHP 8.4 | locked)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Codecov
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
qa / Mutation testing
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"

Artifacts

Produced during runtime
Name Size Digest
coverage-clover
31.1 KB
sha256:55870af840c7a9d3bbdf96e34911c6c4f974dba8aed524cfa59059d32d42d48c