-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Conversation
Thus removing some no longer needed code from annotation_adapter.inc
includes/command.inc
Outdated
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); |
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.
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?
Do you know what is causing |
Thus removing some no longer needed code from annotation_adapter.inc