Ver código fonte

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 anos atrás
pai
commit
4d6910ece6
1 arquivos alterados com 0 adições e 2 exclusões
  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());