Make Iterator::key() and ::current() nullable #20974
static-analysis.yml
on: pull_request
Generate baseline
1m 37s
Generate PHP baseline
1m 33s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
4 errors
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
|
PHPStan (7.4, ubuntu-latest):
stubs/iterable.stub#L478
Return type mixed of method EmptyIterator::valid() is not covariant with return type bool of method Iterator<never,never>::valid().
|
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
|
PHPStan (7.4, windows-latest):
stubs/iterable.stub#L478
Return type mixed of method EmptyIterator::valid() is not covariant with return type bool of method Iterator<never,never>::valid().
|