-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
refactor: enable instanceof and strictBooleans rector set #9339
refactor: enable instanceof and strictBooleans rector set #9339
Conversation
Ready to merge 👍 |
a709cbe
to
638a0d3
Compare
@paulbalandan review incorporated 👍 , for except it exactly compare to |
Hmm... wouldn't the In this case, we're just checking if collate is already present in the |
Aah, take a look first #9302 |
@neznaika0 your PR can be merged first if approved :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking at the strpos scenarios i think @michalsn is right. before the code is just checking for the existence of the substring, so it doesn't matter if it is found at the beginning.
for the non-falsy string checks, i think those were originally meant for non-empty-string checks?
All incorporated 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, looks good!
Feel free to merge PR #9302 from @neznaika0 first, I can rebase later ;) |
@samsonasik this can now be rebased |
aa6f5ee
to
095aea9
Compare
@paulbalandan rebased 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you, @samsonasik |
Description
Checklist: