-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
(PhpStan) fix analyzer level = 1 issues #14
Conversation
aa4817e
to
88e7c69
Compare
Hey @alchalade if I understand correctly, after this PR, if we run |
@dmohns I think this phpstan.level=1 check is already in a gitaction. Please check the laravel-lint action. Its one of the steps. For now it will catch us but won't block the PR. After this one is merged, I will increase the level to 5 and try to address those issues. But for now level 1 should already run on new code and all reported issues should be addressed. |
828db5f
to
bed4b29
Compare
Ohh, I see. So, we "could" remove the |
bed4b29
to
919a82d
Compare
c53946c
to
ddd801e
Compare
ddd801e
to
4dff18d
Compare
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.
Nice
This MR fixes the issues which are listed by phpstan.level 1. The goal is reach level 8 but that would be a long journey.
output for level 8
For more details abou the rule levels : https://phpstan.org/user-guide/rule-levels