瀏覽代碼

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());