diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index f2b06190c..e1702a4f1 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -63,7 +63,7 @@ class Filesystem public function rename($source, $target) { - if (defined('PHP_WINDOWS_VERSION_BUILD') || ! function_exists('exec')) { + if (defined('PHP_WINDOWS_VERSION_BUILD')) { rename($source, $target); return;