Ver Fonte

removed reference to exec

Johannes M. Schmitt há 12 anos atrás
pai
commit
3db8419569
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Composer/Util/Filesystem.php

+ 1 - 1
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;