1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Remove unused variable $dialog from RequireCommand::configure

I traced the get and getHelperSet to Symfony's Console\Command and Console\Helper\HelperSet, and there was only stored variables being retrieved (no actions being done that'd require these functions to be called).
This commit is contained in:
John Long 2013-05-23 23:28:41 -05:00
parent 59bda2bb9b
commit 4d6910ece6

View file

@ -70,8 +70,6 @@ EOT
return 1;
}
$dialog = $this->getHelperSet()->get('dialog');
$json = new JsonFile($file);
$composer = $json->read();
$composerBackup = file_get_contents($json->getPath());