Disable "composer/package-versions-deprecated" by default (#10458)
parent
6de9cacfd8
commit
6a70161c01
|
@ -699,6 +699,10 @@ class PluginManager
|
|||
}
|
||||
}
|
||||
|
||||
if ($package === 'composer/package-versions-deprecated') {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!isset($warned[$package])) {
|
||||
if ($this->io->isInteractive()) {
|
||||
$composer = $isGlobalPlugin && $this->globalComposer !== null ? $this->globalComposer : $this->composer;
|
||||
|
|
Loading…
Reference in New Issue