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
implement isNull() on Type #1978
Conversation
starting with my next PR, I will take this into account. |
This pull request has been marked as ready for review. |
Small thought for ConstantInteger, ConstantString, ConstantBoolean, ... Rather than methods |
these types can already be checked with the |
@VincentLanglet I think a method like But integers complicate it a bit. I don't know how |
I thought the purpose of all those methods were to get rid of all the
? |
ondrej has a better idea of it, I am pretty sure.
I think we are getting rid of |
@VincentLanglet There's already @staabm We want to get rid of |
Thank you! |
good, then there's still work left for me 😅 |
@herndlm There's ton of work to be done, I'm looking forward to get rid of |
I know that there's no need to be worried hehe. great that multiple people are now actively cleaning up! |
Also SubtractableType, that's gonna be a lot of fun 😂 |
i ran into this exact case last week in a custom rule 😅 |
Refs phpstan/phpstan#8224 (comment)