Fix misc callable bugs#10370
Merged
orklah merged 15 commits intovimeo:5.x from kkmuffme:fix-misc-callable-bugsNov 22, 2023
+1,332-222
Commits
Commits on Nov 18, 2023
- committed
- committed
- committed
- committed
- committed
Fixed https://psalm.dev/r/7f112fd745 - MethodComparator only reported an error for this if the parent class was user defined (= not in stubs), which is wrong, since this will cause a fatal error wh…
committedFixed ReturnTypeWillChange false positive https://psalm.dev/r/91c6992bf1 with missing return type signature
committed- committed
Fix for classes what vimeo#8503 fixed for functions (as some issues didn't report for other reasons, which were solved since then)
committed- committed
Fix optional args not enforced in callable (fix for non-closure/arrow functions of vimeo#8438) Fix array callables not treated as callable https://psalm.dev/r/23f3787207 (this is needed to fix the …
committed- committed
- committed
Remove tests for partially stubbed classes introduced in vimeo#849, as this didn't work correctly and lead to errors not being reported at all in many cases (since the error was reported for the st…
committed- committed