소스 검색

Still did not get it right

Matthias Pigulla 13 년 전
부모
커밋
8ab60b7030
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/Composer/Repository/Vcs/HgDriver.php
  2. 1 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/HgDriver.php

@@ -180,7 +180,7 @@ class HgDriver implements VcsDriverInterface
             return false;
         }
 
-        exec(sprintf('hg identify %s', escapeshellarg($url)), null, $exit);
+        exec(sprintf('hg identify %s', escapeshellarg($url)), $ignored, $exit);
         return $exit == 0;
     }
 }

+ 1 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -178,7 +178,7 @@ class SvnDriver implements VcsDriverInterface
             return false;
         }
         
-        exec(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), null, $exit);
+        exec(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), $ignored, $exit);
         return $exit == 0;
     }
 }