1
0
Fork 0
pull/61/head
Jordi Boggiano 2011-10-22 20:24:06 +02:00
parent c33fc80d23
commit 33e7001d7e
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ use Composer\DependencyResolver\Pool;
use Composer\DependencyResolver\Request;
use Composer\DependencyResolver\Operation;
use Composer\Package\LinkConstraint\VersionConstraint;
use Composer\Repository\PlatformRepository;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
@ -74,7 +75,7 @@ EOT
// prepare solver
$installationManager = $composer->getInstallationManager();
$localRepo = $composer->getRepositoryManager()->getLocalRepository();
$installedRepo = new Repository\PlatformRepository($localRepo);
$installedRepo = new PlatformRepository($localRepo);
$policy = new DependencyResolver\DefaultPolicy();
$solver = new DependencyResolver\Solver($policy, $pool, $installedRepo);