Skip to content

Commit

Permalink
Disable "composer/package-versions-deprecated" by default (#10458)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jan 17, 2022
1 parent 6de9cac commit 6a70161
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Composer/Plugin/PluginManager.php
Expand Up @@ -699,6 +699,10 @@ private function isPluginAllowed($package, $isGlobalPlugin)
}
}

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;
Expand Down

0 comments on commit 6a70161

Please sign in to comment.