mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Implement writeError throughout Composer
This commit is contained in:
parent
84d4594278
commit
cb336a5416
65 changed files with 390 additions and 322 deletions
|
@ -127,7 +127,7 @@ class PluginManager
|
|||
}
|
||||
|
||||
if (!$requiresComposer->matches(new VersionConstraint('==', $this->versionParser->normalize(PluginInterface::PLUGIN_API_VERSION)))) {
|
||||
$this->io->write("<warning>The plugin ".$package->getName()." requires a version of composer-plugin-api that does not match your composer installation. You may need to run composer update with the '--no-plugins' option.</warning>");
|
||||
$this->io->writeError("<warning>The plugin ".$package->getName()." requires a version of composer-plugin-api that does not match your composer installation. You may need to run composer update with the '--no-plugins' option.</warning>");
|
||||
}
|
||||
|
||||
$this->registerPackage($package);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue