Skip to content

Improve ReplaceFunctionsDynamicReturnTypeExtension #19985

Improve ReplaceFunctionsDynamicReturnTypeExtension

Improve ReplaceFunctionsDynamicReturnTypeExtension #19985

Triggered via pull request May 25, 2025 17:56
Status Failure
Total duration 31s
Artifacts

phar.yml

on: pull_request
Compiler Tests
25s
Compiler Tests
integration-tests  /  Check PHAR checksum
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
other-tests / Check PHAR checksum
Commit PHAR
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
Waiting for pending jobs
Matrix: integration-tests / integration-tests
Waiting for pending jobs
Matrix: extension-tests / Extension Tests
Waiting for pending jobs
Matrix: other-tests / Other Tests
Waiting for pending jobs
integration-tests  /  Integration - Update baselines
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Compiler Tests
Process completed with exit code 1.
Compiler Tests
Internal error: PHPStan\Type\TypeCombinator::intersect(): Argument #2 must be of type PHPStan\Type\Type, null given, called in /home/runner/work/phpstan-src/phpstan-src/src/Type/Php/ReplaceFunctionsDynamicReturnTypeExtension.php on line 120 while analysing file /home/runner/work/phpstan-src/phpstan-src/compiler/src/Console/PrepareCommand.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml