Allow force-lazy-providers for any repo, still an experimental flag that should not be used though

main
Jordi Boggiano 8 years ago
parent 0117571caa
commit 25e089eee9

@ -511,6 +511,9 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
$this->baseUrl = 'https://packagist.org';
$this->lazyProvidersUrl = $this->canonicalizeUrl('https://packagist.org/p/%package%.json');
$this->providersUrl = null;
} elseif (!empty($this->repoConfig['force-lazy-providers'])) {
$this->lazyProvidersUrl = $this->canonicalizeUrl('/p/%package%.json');
$this->providersUrl = null;
}
return $this->rootData = $data;

Loading…
Cancel
Save