-
Notifications
You must be signed in to change notification settings - Fork 435
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
Triggered by option for phpcsfixer2 task #285
Triggered by option for phpcsfixer2 task #285
Conversation
@@ -84,3 +85,9 @@ Show applied fixers. | |||
*Default: false* | |||
|
|||
Show the full diff that will be applied. | |||
|
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.
There should be 2 new lines before the option.
|
||
*Default: [php]* | ||
|
||
This option will specify which file extensions will trigger the phpcsfixer2 task. |
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.
There should be a newline at the end of the file.
@@ -35,6 +35,7 @@ public function getConfigurableOptions() | |||
'path_mode' => null, | |||
'verbose' => true, | |||
'diff' => false, | |||
'triggered_by' => ['php'], |
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.
Can you also add this option to the spec test?
Thanks for the PR! |
This PR adds "triggered_by" option to the phpcsfixer2 task as described in #284.