소스 검색

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