1
0
Fork 0

Allow loading flex main branch

pull/9296/head
Jordi Boggiano 2020-10-15 09:53:12 +02:00
parent df863f8860
commit 2ca2ec3d0a
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class PluginManager
return; return;
} }
if ($package->getName() === 'symfony/flex' && version_compare($package->getVersion(), '1.9.8', '<')) { if ($package->getName() === 'symfony/flex' && version_compare($package->getVersion(), '1.9.8', '<') && $package->getVersion() !== 'dev-main') {
$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>'); $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; return;