-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply rector fixes #10305
Apply rector fixes #10305
Conversation
…e only cases hiding errors when functions called
…hen not validated Fix https://psalm.dev/r/b153d0d248 to return 'a'|null instead of 'a' - this is required as otherwise empty would report RedundantCondition errors now which would bring back vimeo#2681
… more specific type now)
…arisons-on-truthy-falsy-types report error for non-strict or empty comparison on truthy+falsy union
I'll merge this now, I'll take it upon myself to do 5.x->master merges in the future now that I have push access (plus, I actually intend to make a first alpha/beta release for v6 soon...) |
No dice, windows tests are segfaulting due to yet another PHP bug, damn it... Edit: merged as I'd like to get all potential BC-breaks out of the way in time for the first beta of 6.x, coming hopefully this week, disabled opcache to fix segfaults until php fixes the bug upstream, opened php/php-src#13180 #10564 avoids enabling JIT on windows inside of Psalm itself. |
This PR merges 5.x into master and applies some modernization fixes using rector (+ some manual fixes too, mainly involving readonly properties).