mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fixed unused use
per @stof and horrible bug that made this class no longer work.
This commit is contained in:
parent
3352066ece
commit
b1c93d1f0a
1 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue