Skip to content

Preserve constant array shape when spreading a union of constant arrays in array literals #29812

Preserve constant array shape when spreading a union of constant arrays in array literals

Preserve constant array shape when spreading a union of constant arrays in array literals #29812

Triggered via pull request May 27, 2026 09:28
Status Failure
Total duration 15m 41s
Artifacts

tests.yml

on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
51s
Determine levels tests matrix
Matrix: Integration tests
Matrix: Tests PHPUnit 11.x
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 2 warnings, and 8 notices
Tests with old PHPUnit (8.1, ubuntu-latest)
Process completed with exit code 2.
Tests with old PHPUnit (8.0, ubuntu-latest)
Process completed with exit code 2.
Mutation Testing (8.3, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.4, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.3, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L655
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ if ($this->phpVersion->supportsArrayUnpackingWithStringKeys()) { foreach ($constantArrays as $constantArrayType) { foreach ($constantArrayType->getKeyTypes() as $keyType) { - if ($keyType->isString()->yes()) { + if (!$keyType->isString()->no()) { $hasStringKey = true; break 2; }
Mutation Testing (8.4, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L655
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ if ($this->phpVersion->supportsArrayUnpackingWithStringKeys()) { foreach ($constantArrays as $constantArrayType) { foreach ($constantArrayType->getKeyTypes() as $keyType) { - if ($keyType->isString()->yes()) { + if (!$keyType->isString()->no()) { $hasStringKey = true; break 2; }
Integration tests (windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests PHPUnit 12.x (8.4, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests PHPUnit 12.x (8.5, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests PHPUnit 12.x (8.3, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests with old PHPUnit (8.0, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests PHPUnit 11.x (8.2, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests with old PHPUnit (7.4, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Tests with old PHPUnit (8.1, windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026