Merge pull request #433 from simensen/InstallerCleanup
Remove unneeded code from UpdateCommandpull/432/merge
commit
b024615e41
|
@ -13,7 +13,6 @@
|
||||||
namespace Composer\Command;
|
namespace Composer\Command;
|
||||||
|
|
||||||
use Composer\Installer;
|
use Composer\Installer;
|
||||||
use Composer\Script\EventDispatcher;
|
|
||||||
use Symfony\Component\Console\Input\InputInterface;
|
use Symfony\Component\Console\Input\InputInterface;
|
||||||
use Symfony\Component\Console\Input\InputOption;
|
use Symfony\Component\Console\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
use Symfony\Component\Console\Output\OutputInterface;
|
||||||
|
@ -50,8 +49,7 @@ EOT
|
||||||
{
|
{
|
||||||
$composer = $this->getComposer();
|
$composer = $this->getComposer();
|
||||||
$io = $this->getApplication()->getIO();
|
$io = $this->getApplication()->getIO();
|
||||||
$eventDispatcher = new EventDispatcher($composer, $io);
|
$install = Installer::create($io, $composer);
|
||||||
$install = Installer::create($io, $composer, $eventDispatcher);
|
|
||||||
|
|
||||||
return $install->run(
|
return $install->run(
|
||||||
(Boolean)$input->getOption('prefer-source'),
|
(Boolean)$input->getOption('prefer-source'),
|
||||||
|
|
Loading…
Reference in New Issue