mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Expose default repositories in system config file
This commit is contained in:
parent
4a6ae454c2
commit
3ac11b932c
10 changed files with 68 additions and 63 deletions
|
@ -16,7 +16,6 @@ use Composer\Json\JsonFile;
|
|||
use Composer\Factory;
|
||||
use Composer\Repository\CompositeRepository;
|
||||
use Composer\Repository\PlatformRepository;
|
||||
use Composer\Repository\ComposerRepository;
|
||||
use Symfony\Component\Console\Input\InputInterface;
|
||||
use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
@ -236,7 +235,7 @@ EOT
|
|||
if (!$this->repos) {
|
||||
$this->repos = new CompositeRepository(array_merge(
|
||||
array(new PlatformRepository),
|
||||
Factory::createComposerRepositories($this->getIO(), Factory::createConfig())
|
||||
Factory::createDefaultRepositories($this->getIO(), Factory::createConfig())
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue