-
Notifications
You must be signed in to change notification settings - Fork 542
Fix too wide bool in trivial methods #4444
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
base: 2.1.x
Are you sure you want to change the base?
Conversation
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.
You've deleted a bunch of test assertions. Right now there are vast areas of the code that aren't covered by proper tests.
What needs to happen first is to change the current tests so they continue to be reported.
Then you can add your own tests for code that shouldn't be reported. Thanks.
b1c88e0
to
e1b8456
Compare
@ondrejmirtes great feedback thanks. adjusted the tests accordingly. |
…onReturnTypehintRuleTest.php
…ReturnTypehintRuleTest.php
closes phpstan/phpstan#13482