-
Notifications
You must be signed in to change notification settings - Fork 100
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
Improve PHPStan config #563
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #563 +/- ##
==========================================
Coverage 17.28% 17.28%
Complexity 296 296
==========================================
Files 55 55
Lines 1770 1770
==========================================
Hits 306 306
Misses 1464 1464
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
@westonruter CI is not configured to trigger static analysis on PHPStan configuration file change! |
@@ -5,28 +5,17 @@ parameters: | |||
level: 5 | |||
inferPrivatePropertyTypeFromConstructor: true | |||
paths: | |||
- %currentWorkingDirectory%/pwa.php | |||
- %currentWorkingDirectory%/wp-admin | |||
- %currentWorkingDirectory%/wp-includes | |||
- %currentWorkingDirectory%/bundled-theme-support | |||
- %currentWorkingDirectory%/integrations | |||
bootstrapFiles: | |||
- %currentWorkingDirectory%/tests/static-analysis-stubs/wordpress-defines.stub |
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.
- %currentWorkingDirectory%/vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
is necessary if you don't use my package
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.
@westonruter Now we are here :)
Improving config based on #562 props @szepeviktor.
Amends #560 for #243