From 3dae4cd5173666d2528ffc3b0bc0592d174018cc Mon Sep 17 00:00:00 2001 From: Rob Bast Date: Thu, 30 Apr 2015 12:20:32 +0200 Subject: [PATCH] Switch to QuestionHelper --- src/Composer/Command/RemoveCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Composer/Command/RemoveCommand.php b/src/Composer/Command/RemoveCommand.php index 8821bd991..591548d2a 100644 --- a/src/Composer/Command/RemoveCommand.php +++ b/src/Composer/Command/RemoveCommand.php @@ -74,9 +74,8 @@ EOT $json->removeLink($type, $package); } elseif (isset($composer[$altType][$package])) { $this->getIO()->writeError(''.$package.' could not be found in '.$type.' but it is present in '.$altType.''); - $dialog = $this->getHelperSet()->get('dialog'); if ($this->getIO()->isInteractive()) { - if ($dialog->askConfirmation($output, $dialog->getQuestion('Do you want to remove it from '.$altType, 'yes', '?'), true)) { + if ($this->getIO()->askConfirmation('Do you want to remove it from '.$altType.' [yes]?', true)) { $json->removeLink($altType, $package); } }