1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Removed the filters from the pool

This commit is contained in:
Yanick Witschi 2019-11-23 14:43:22 +01:00
parent d12c20db4b
commit d1dc367d86
7 changed files with 35 additions and 52 deletions

View file

@ -217,9 +217,10 @@ abstract class Rule
return $text . ' -> the requested linked library '.$lib.' has the wrong version installed or is missing from your system, make sure to have the extension providing it.';
}
if ($providers = $pool->whatProvides($targetName, $this->reasonData->getConstraint(), true, true)) {
// TODO: The pool doesn't know about these anymore, it has to ask the RepositorySet
/*if ($providers = $pool->whatProvides($targetName, $this->reasonData->getConstraint(), true, true)) {
return $text . ' -> satisfiable by ' . $this->formatPackagesUnique($pool, $providers) .' but these conflict with your requirements or minimum-stability.';
}
}*/
return $text . ' -> no matching package found.';
}