Skip to content
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

Merged
merged 4 commits into from
Feb 10, 2017

Conversation

pflipp
Copy link

@pflipp pflipp commented Feb 10, 2017

Q A
Branch master for features and deprecations
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #284

This PR adds "triggered_by" option to the phpcsfixer2 task as described in #284.

@@ -84,3 +85,9 @@ Show applied fixers.
*Default: false*

Show the full diff that will be applied.

Copy link
Contributor

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.
Copy link
Contributor

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'],
Copy link
Contributor

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?

@veewee veewee added this to the Version 0.11.2 milestone Feb 10, 2017
@veewee veewee merged commit c26b6f9 into phpro:master Feb 10, 2017
@veewee
Copy link
Contributor

veewee commented Feb 10, 2017

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants