Don't loose known offset-types in array_merge() #23759
Triggered via pull request
November 14, 2025 18:37
Status
Failure
Total duration
18m 25s
Artifacts
–
tests.yml
on: pull_request
Matrix: Tests
Determine levels tests matrix
41s
Matrix: Integration tests
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Annotations
3 errors and 6 warnings
|
Mutation Testing (8.3, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.2, 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/Type/Php/ArrayMergeFunctionDynamicReturnTypeExtension.php#L106
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
}
$offsetTypes = [];
foreach ($argTypes as $argType) {
- if ($argType->isConstantArray()->yes()) {
+ if (!$argType->isConstantArray()->no()) {
foreach ($argType->getConstantArrays() as $constantArray) {
foreach ($constantArray->getKeyTypes() as $keyType) {
$hasOffsetValue = TrinaryLogic::createFromBoolean($argType->hasOffsetValueType($keyType)->yes());
|
|
Mutation Testing (8.3, ubuntu-latest)
Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']
|
|
Mutation Testing (8.2, ubuntu-latest):
src/Type/Php/ArrayMergeFunctionDynamicReturnTypeExtension.php#L106
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
}
$offsetTypes = [];
foreach ($argTypes as $argType) {
- if ($argType->isConstantArray()->yes()) {
+ if (!$argType->isConstantArray()->no()) {
foreach ($argType->getConstantArrays() as $constantArray) {
foreach ($constantArray->getKeyTypes() as $keyType) {
$hasOffsetValue = TrinaryLogic::createFromBoolean($argType->hasOffsetValueType($keyType)->yes());
|
|
Mutation Testing (8.2, ubuntu-latest)
Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Type/Php/ArrayMergeFunctionDynamicReturnTypeExtension.php#L106
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
}
$offsetTypes = [];
foreach ($argTypes as $argType) {
- if ($argType->isConstantArray()->yes()) {
+ if (!$argType->isConstantArray()->no()) {
foreach ($argType->getConstantArrays() as $constantArray) {
foreach ($constantArray->getKeyTypes() as $keyType) {
$hasOffsetValue = TrinaryLogic::createFromBoolean($argType->hasOffsetValueType($keyType)->yes());
|
|
Mutation Testing (8.4, ubuntu-latest)
Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']
|