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

Refactor drush task #1460

Merged
merged 2 commits into from
May 2, 2017
Merged

Refactor drush task #1460

merged 2 commits into from
May 2, 2017

Conversation

malikkotob
Copy link
Contributor

No description provided.

@grasmash grasmash added in progress Enhancement A feature or feature request labels May 2, 2017
* @return $this
*/
public function globalOption($option, $value = null) {
if ($option !== null and strpos($option, '-') !== 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't totally understand why it's necessary to override parent::option and also have a separate globalOption method. Can you explain and perhaps add a comment to the code with the explanation?

@malikkotob malikkotob force-pushed the refactor-drush-task branch 2 times, most recently from 18e83dd to 27fe07f Compare May 2, 2017 19:15
@grasmash grasmash merged commit 668b5df into acquia:8.x May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants