1
0
Fork 0

Merge remote-tracking branch 'origin/2.6'

pull/11794/head
Jordi Boggiano 2024-01-11 16:44:46 +01:00
commit c069174ac7
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 9 additions and 0 deletions

View File

@ -637,6 +637,15 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
$apiUrl = $this->securityAdvisoryConfig['api-url']; $apiUrl = $this->securityAdvisoryConfig['api-url'];
// respect available-package-patterns / available-packages directives from the repo
if ($this->hasAvailablePackageList) {
foreach ($packageConstraintMap as $name => $constraint) {
if (!$this->lazyProvidersRepoContains(strtolower($name))) {
unset($packageConstraintMap[$name]);
}
}
}
$parser = new VersionParser(); $parser = new VersionParser();
/** /**
* @param array<mixed> $data * @param array<mixed> $data