mirror of
https://github.com/composer/composer
synced 2025-05-11 09:32:55 +00:00
Minor tweaks
This commit is contained in:
parent
0961e16795
commit
e753bf08b1
3 changed files with 4 additions and 1 deletions
|
@ -527,6 +527,8 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|||
// TODO what if not, then throw?
|
||||
if ($this->lazyProvidersUrl) {
|
||||
foreach ($packageNames as $name => $constraint) {
|
||||
$name = strtolower($name);
|
||||
|
||||
// skip platform packages, root package and composer-plugin-api
|
||||
if (preg_match(PlatformRepository::PLATFORM_PACKAGE_REGEX, $name) || '__root__' === $name || 'composer-plugin-api' === $name) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue