The config setting 'platform' is used to override platform packages.
Like suggested in #1522. These overridden packages appear only during install/update and not when running init, show and search commands. I don't know if they should or not.pull/2990/head
parent
f76685ce4f
commit
571363dee2
|
@ -39,6 +39,7 @@ class Config
|
|||
'optimize-autoloader' => false,
|
||||
'prepend-autoloader' => true,
|
||||
'github-domains' => array('github.com'),
|
||||
'platform' => array(),
|
||||
);
|
||||
|
||||
public static $defaultRepositories = array(
|
||||
|
|
|
@ -196,7 +196,7 @@ class Installer
|
|||
|
||||
// create installed repo, this contains all local packages + platform packages (php & extensions)
|
||||
$localRepo = $this->repositoryManager->getLocalRepository();
|
||||
$platformRepo = new PlatformRepository();
|
||||
$platformRepo = new PlatformRepository($this->config->get('platform'));
|
||||
$repos = array(
|
||||
$localRepo,
|
||||
new InstalledArrayRepository(array($installedRootPackage)),
|
||||
|
|
Loading…
Reference in New Issue