Richard van Velzen
Richard van Velzen
Fix #142
Fix phpstan/phpstan#7788
Implementation for phpstan/phpstan#7110. I already had a big chunk of this quite soon, so I finished most of it. Just putting this out there, hopefully you didn't already start on...
Fix for phpstan/phpstan#7141. This does not actually work yet, but fixing it in an obvious way breaks other tests
Fixes phpstan/phpstan#7492
Partial solution for phpstan/phpstan#7188: check expressions for terminating calls a bit more aggressively.
A little experiment to see what happens. Psalm doesn't generalize template types either, because a `@var` is easy enough to write.
Proof-of-concept implementation for template default syntax (for phpstan/phpstan#4801)