From eee8816bc3b2cc4b5d97ae7b526a8169246944ce Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 15 Feb 2022 16:14:06 +0100 Subject: [PATCH] Fix allow-plugins:false handling, fixes #10530 --- src/Composer/Plugin/PluginManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Plugin/PluginManager.php b/src/Composer/Plugin/PluginManager.php index c6073561b..fc89f9e52 100644 --- a/src/Composer/Plugin/PluginManager.php +++ b/src/Composer/Plugin/PluginManager.php @@ -656,7 +656,7 @@ class PluginManager } if (false === $allowPluginsConfig) { - return array('{^$}D' => false); + return array('{}' => false); } $rules = array();