From 4d6910ece6b889245caef4a34f57c9f1a46dda5e Mon Sep 17 00:00:00 2001 From: John Long Date: Thu, 23 May 2013 23:28:41 -0500 Subject: [PATCH] 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). --- src/Composer/Command/RequireCommand.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Composer/Command/RequireCommand.php b/src/Composer/Command/RequireCommand.php index d88a9d9b1..f47445a4e 100644 --- a/src/Composer/Command/RequireCommand.php +++ b/src/Composer/Command/RequireCommand.php @@ -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());