1
0
Fork 0

Fixed unused `use` per @stof and horrible bug that made this class no longer work.

pull/379/head
Beau Simensen 2012-03-08 11:04:56 -08:00
parent 3352066ece
commit b1c93d1f0a
1 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,6 @@ use Composer\IO\IOInterface;
use Composer\Repository\ComposerRepository;
use Composer\Repository\FilesystemRepository;
use Composer\Script\EventDispatcher;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@ -69,7 +68,6 @@ EOT
return $this->installProject(
$io,
$this->getInstallCommand($input, $output),
$input->getArgument('package'),
$input->getArgument('directory'),
$input->getArgument('version'),
@ -78,7 +76,7 @@ EOT
);
}
public function installProject(IOInterface $io, $installCommand, $packageName, $directory = null, $version = null, $preferSource = false, $repositoryUrl = null)
public function installProject(IOInterface $io, $packageName, $directory = null, $version = null, $preferSource = false, $repositoryUrl = null)
{
$dm = $this->createDownloadManager($io);
if ($preferSource) {