1
0
Fork 0

Avoid failing on composer show of lazy providers

pull/3693/merge
Jordi Boggiano 2015-01-31 21:24:33 +00:00
parent 777f2e81a3
commit 8b46880f42
1 changed files with 5 additions and 0 deletions

View File

@ -204,6 +204,11 @@ class ComposerRepository extends ArrayRepository
$this->loadProviderListings($this->loadRootServerFile()); $this->loadProviderListings($this->loadRootServerFile());
} }
if ($this->lazyProvidersUrl) {
// Can not determine list of provided packages for lazy repositories
return array();
}
if ($this->providersUrl) { if ($this->providersUrl) {
return array_keys($this->providerListing); return array_keys($this->providerListing);
} }