1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Merge branch '2.4'

This commit is contained in:
Jordi Boggiano 2022-10-13 16:54:55 +02:00
commit 96e88cf84d
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
5 changed files with 41 additions and 8 deletions

View file

@ -288,6 +288,7 @@ class Application extends BaseApplication
}
if ($isNonAllowedRoot && !$io->isInteractive()) {
$io->writeError('<error>Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.</error>');
$this->disablePluginsByDefault = true;
}