Make sure symfony/flex does not get loaded in a buggy version to avoid bogus issue reports
parent
c5d8a13bc4
commit
9492dc7f7c
|
@ -149,6 +149,12 @@ class PluginManager
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($package->getName() === 'symfony/flex' && version_compare($package->getVersion(), '1.9.8', '<')) {
|
||||||
|
$this->io->writeError('<warning>The "' . $package->getName() . '" plugin was skipped because it is not compatible with Composer 2+. Make sure to update it to version 1.9.8 or greater.</warning>');
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$oldInstallerPlugin = ($package->getType() === 'composer-installer');
|
$oldInstallerPlugin = ($package->getType() === 'composer-installer');
|
||||||
|
|
Loading…
Reference in New Issue