Improve wording of the NonexistentOffset, BooleanAndConstantConditionRule and BooleanOrConstantConditionRule#1882
Conversation
9248337 to
bdd2829
Compare
|
This pull request has been marked as ready for review. |
ondrejmirtes
left a comment
There was a problem hiding this comment.
We can't do this because it'd break existing baselines. We can do this only with a new bleedingEdge toggle.
A similar thing could be fixed in BooleanAndConstantConditionRule and BooleanOrConstantConditionRule where the message still uses && and || even for logical and and or operators.
|
new bleeding edge toggle kind of means that it will get into the next major automatically, right? |
|
Exactly, and no rebase nightmare either. |
|
Yeah, I'll update the PR |
32abba4 to
50b4817
Compare
50b4817 to
96be48f
Compare
Done
Done |
|
Thank you. |
Related to phpstan/phpstan#8187 (comment)
I feel like
is confusing and
is better.