mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Optimize show -a by loading only the requested package (#11659)
Fixes #11648
This commit is contained in:
parent
c7e696dbde
commit
892eaacedf
5 changed files with 59 additions and 13 deletions
|
@ -126,7 +126,7 @@ class PoolBuilderTest extends TestCase
|
|||
if (isset($requestData['allowTransitiveDeps']) && $requestData['allowTransitiveDeps']) {
|
||||
$transitiveDeps = Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS;
|
||||
}
|
||||
$request->setUpdateAllowList(array_flip($requestData['allowList']), $transitiveDeps);
|
||||
$request->setUpdateAllowList($requestData['allowList'], $transitiveDeps);
|
||||
}
|
||||
|
||||
foreach ($fixed as $fixedPackage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue