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

Fix #2460. Use $application instead of $command in option verify #2827

Merged
merged 6 commits into from
Jun 30, 2017

Conversation

weitzman
Copy link
Member

Thus removing some no longer needed code from annotation_adapter.inc

if (annotation_adapter_is_annotated($command)) {
// The canonical options list is now in $application
$application = Drush::getApplication();
annotation_adapter_add_legacy_commands_to_application($application);
Copy link
Member

Choose a reason for hiding this comment

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

Might we end up doing this multiple times, or is _drush_verify_cli_options() guaranteed to be called only once (including redispatches, etc)? If called multiple times, would that cause any problems?

@greg-1-anderson
Copy link
Member

Do you know what is causing Failed asserting that 'Calling proc_open('git pull' origin --rebase);' contains "Calling proc_open(git pull origin --rebase);".? Quoting errors in various calls to exec are causing a lot of test failures. The changes in this PR seem unrelated to the code that composes commands, though.

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

Successfully merging this pull request may close these issues.

2 participants