diff --git a/src/Composer/Config.php b/src/Composer/Config.php index 9cb08d73f..7725a8b31 100644 --- a/src/Composer/Config.php +++ b/src/Composer/Config.php @@ -38,7 +38,7 @@ class Config { // override defaults with given config if (!empty($config['config']) && is_array($config['config'])) { - $this->config = array_merge_recursive($this->config, $config['config']); + $this->config = array_replace_recursive($this->config, $config['config']); } }