Skip to content

Unsetting optional offset might still give a list. #25964

Unsetting optional offset might still give a list.

Unsetting optional offset might still give a list. #25964

Triggered via pull request February 22, 2026 22:54
Status Failure
Total duration 12m 41s
Artifacts

tests.yml

on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
38s
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

3 errors and 2 warnings
Integration tests (ubuntu-latest)
Process completed with exit code 2.
Mutation Testing (8.4, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.3, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.4, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L830
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ */ private static function isListAfterUnset(array $newKeyTypes, array $newOptionalKeys, TrinaryLogic $arrayIsList, bool $unsetOptionalKey): TrinaryLogic { - if (!$unsetOptionalKey || $arrayIsList->no()) { + if (!$unsetOptionalKey || !$arrayIsList->yes()) { return TrinaryLogic::createNo(); }
Mutation Testing (8.3, ubuntu-latest): src/Type/Constant/ConstantArrayType.php#L830
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ */ private static function isListAfterUnset(array $newKeyTypes, array $newOptionalKeys, TrinaryLogic $arrayIsList, bool $unsetOptionalKey): TrinaryLogic { - if (!$unsetOptionalKey || $arrayIsList->no()) { + if (!$unsetOptionalKey || !$arrayIsList->yes()) { return TrinaryLogic::createNo(); }