1
0
Fork 0

Disable "composer/package-versions-deprecated" by default (#10458)

pull/10468/head
Nicolas Grekas 2022-01-17 15:28:07 +01:00 committed by GitHub
parent 6de9cacfd8
commit 6a70161c01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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;