diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index e305b03b5..008ed584a 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -310,7 +310,9 @@ class Filesystem } if (!function_exists('proc_open')) { - return $this->copyThenRemove($source, $target); + $this->copyThenRemove($source, $target); + + return; } if (Platform::isWindows()) {