Skip to content

Fix phpstan/phpstan#13637: Array might not have offset, if array is deep #26561

Fix phpstan/phpstan#13637: Array might not have offset, if array is deep

Fix phpstan/phpstan#13637: Array might not have offset, if array is deep #26561

Triggered via pull request March 9, 2026 17:27
Status Failure
Total duration 17m 18s
Artifacts

tests.yml

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

10 errors and 4 warnings
Tests PHPUnit 11.x (8.2, ubuntu-latest)
Process completed with exit code 2.
Tests with old PHPUnit (8.0, ubuntu-latest)
Process completed with exit code 2.
Tests with old PHPUnit (8.1, ubuntu-latest)
Process completed with exit code 2.
Tests with old PHPUnit (7.4, ubuntu-latest)
Process completed with exit code 2.
Tests PHPUnit 11.x (8.2, windows-latest)
Process completed with exit code 1.
Tests with old PHPUnit (8.0, windows-latest)
Process completed with exit code 1.
Tests with old PHPUnit (8.1, windows-latest)
Process completed with exit code 1.
Tests with old PHPUnit (7.4, windows-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)
Process completed with exit code 1.
Mutation Testing (8.3, ubuntu-latest): src/Type/ArrayType.php#L416
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ if ( !$this->itemType->isConstantArray()->yes() && $this->itemType->isArray()->yes() - && $valueType->isArray()->yes() + && !$valueType->isArray()->no() ) { $newItemType = $this->itemType->setExistingOffsetValueType( $valueType->getIterableKeyType(),
Mutation Testing (8.3, ubuntu-latest): src/Type/ArrayType.php#L414
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ } if ( - !$this->itemType->isConstantArray()->yes() + $this->itemType->isConstantArray()->no() && $this->itemType->isArray()->yes() && $valueType->isArray()->yes() ) {
Mutation Testing (8.4, ubuntu-latest): src/Type/ArrayType.php#L416
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ if ( !$this->itemType->isConstantArray()->yes() && $this->itemType->isArray()->yes() - && $valueType->isArray()->yes() + && !$valueType->isArray()->no() ) { $newItemType = $this->itemType->setExistingOffsetValueType( $valueType->getIterableKeyType(),
Mutation Testing (8.4, ubuntu-latest): src/Type/ArrayType.php#L414
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ } if ( - !$this->itemType->isConstantArray()->yes() + $this->itemType->isConstantArray()->no() && $this->itemType->isArray()->yes() && $valueType->isArray()->yes() ) {