diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index f501d52b3..9a8a25d81 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -629,7 +629,7 @@ class RemoteFilesystem ); if (isset($options['ssl'])) { - $defaults['ssl'] = array_merge_recursive($defaults['ssl'], $options['ssl']); + $defaults['ssl'] = array_replace_recursive($defaults['ssl'], $options['ssl']); } /**