ソースを参照

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).
John Long 12 年 前
コミット
4d6910ece6
1 ファイル変更0 行追加2 行削除
  1. 0 2
      src/Composer/Command/RequireCommand.php

+ 0 - 2
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());