Skip to content

Fix phpstan/phpstan#14037: array_splice resets int keys of the input array #26788

Fix phpstan/phpstan#14037: array_splice resets int keys of the input array

Fix phpstan/phpstan#14037: array_splice resets int keys of the input array #26788

Triggered via pull request March 7, 2026 11:34
Status Failure
Total duration 4m 49s
Artifacts 2

static-analysis.yml

on: pull_request
Generate baseline
1m 49s
Generate baseline
Generate PHP baseline
1m 45s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 8 warnings
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
Generate baseline
Process completed with exit code 1.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.1, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.0, windows-latest)
Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): src/Type/TypeCombinator.php#L1502
Parameter #1 $array (list<PHPStan\Type\Type>) of array_values is already a list, call has no effect.
PHPStan (8.2, ubuntu-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.
PHPStan (8.5, ubuntu-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.4, ubuntu-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.3, ubuntu-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.4, windows-latest)
No files were found with the provided path: baseline-php-8.4.neon. No artifacts will be uploaded.
PHPStan (8.5, windows-latest)
No files were found with the provided path: baseline-php-8.5.neon. No artifacts will be uploaded.
PHPStan (8.3, windows-latest)
No files were found with the provided path: baseline-php-8.3.neon. No artifacts will be uploaded.
PHPStan (8.2, windows-latest)
No files were found with the provided path: baseline-php-8.2.neon. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
baseline-8.0
326 Bytes
sha256:321d931d678660cd1c5a71d9b519ede764caa0b51362c25bca51abe0f4c137b4
baseline-8.1
326 Bytes
sha256:c5d2b9728ba65575980418b8e9a678d869abf8617a60b8f4953484b88f7d9fbb