mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Plugin API requirements should be for plugins only, not installers
This commit is contained in:
parent
f69a47066d
commit
689e3056fa
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class PluginManager
|
|||
protected function loadRepository(RepositoryInterface $repo)
|
||||
{
|
||||
foreach ($repo->getPackages() as $package) {
|
||||
if ('composer-plugin' === $package->getType() || 'composer-installer' === $package->getType()) {
|
||||
if ('composer-plugin' === $package->getType()) {
|
||||
$requiresComposer = null;
|
||||
foreach ($package->getRequires() as $link) {
|
||||
if ($link->getTarget() == 'composer-plugin-api') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue