Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add phpstan at level 5 #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

Merged
merged 1 commit into from
Nov 4, 2022
Merged

Add phpstan at level 5 #5

merged 1 commit into from
Nov 4, 2022

Conversation

renttek
Copy link
Contributor

@renttek renttek commented Nov 4, 2022

Adding PHPStan and set level to 5.

It would also be possible to use a higher level and use a phpstan baseline.
I tested it and level 6 will add 13 errors (mostly because of untyped/generic arrays), but other than that, it works fine up to level 8

So the question is: highest supported level without fixes & baseline or higher level + baseline.
What do you think?

@vpodorozh vpodorozh merged commit 7859a30 into run-as-root:main Nov 4, 2022
@renttek renttek deleted the phpstan branch November 4, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants