-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Add phpstan-phpunit to composer.json #733
Conversation
Does this also need a modification of For reference, see https://github.com/phpstan/phpstan-phpunit#usage:
|
@localheinz Yes. |
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.
phpstan.neon needs to be updated (see discussion)
Whoops. Forgot that. It is updated now. |
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.
👍
phpstan.neon
Outdated
@@ -5,3 +5,4 @@ parameters: | |||
|
|||
includes: | |||
- vendor/phpstan/phpstan-strict-rules/rules.neon | |||
- vendor/phpstan/phpstan-phpunit/extension.neon |
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.
Probably not that important, but in case more rules will be imported, I recommend to keep includes sorted, perhaps using the Lines Sorter plugin for PhpStorm.
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.
Fixing. Good call.
Build failure appears to be unrelated; restarting the build might fix it. |
Summary
Add phpstan/phpstan-phpunit to composer.json