Skip to content

Commit ab05ca3

Browse files
committed
Merge pull request composer#159 from gennadiylitvinyuk/patch-1
Require NameMatch for provided packages
2 parents 18ba007 + 61a61cc commit ab05ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Composer/Satis/Command/BuildCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private function selectPackages(Composer $composer, OutputInterface $output, $ve
271271
$link = $links[$i];
272272
$i++;
273273
$name = $link->getTarget();
274-
$matches = $pool->whatProvides($name, $link->getConstraint());
274+
$matches = $pool->whatProvides($name, $link->getConstraint(), true);
275275

276276
foreach ($matches as $index => $package) {
277277
// skip aliases

0 commit comments

Comments
 (0)