-
Notifications
You must be signed in to change notification settings - Fork 96
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 Level 2 fixes #785
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.
Thanks for the contribution here! I have one specific comment in here but, generally ... is this something we can add to CI? And what does it provide beyond the PHPCS scan we have there now?
Yes! See #786
On Level 0-4 PHPStan corrects critical errors (non-existent things, invalid function calls) and invalid PHPDoc blocks, PHPCS can only deliver a very tiny piece of PHPStan. |
|
By submitting a PR to this repository, I agree to the terms within the Auth0 Code of Conduct.
Description
@joshcanhelp Started static analysis by @phpstan
References
https://packagist.org/packages/szepeviktor/phpstan-wordpress
Testing
Please consider using PHPStan on at least Level 4.
phpstan.neon.dist
Checklist
master