1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 00:53:06 +00:00

use a proper tmp directory

this test failed on OSX before, trying to create a directory at the root of the filesystem
This commit is contained in:
Rob Bast 2016-01-26 14:32:04 +01:00
parent f1fd7d1dd6
commit f829a160fb
2 changed files with 31 additions and 4 deletions

View file

@ -294,7 +294,7 @@ EOT
// handler Ctrl+C for unix-like systems
if (function_exists('pcntl_signal')) {
declare (ticks = 100);
declare(ticks=100);
pcntl_signal(SIGINT, function () use ($directory) {
$fs = new Filesystem();
$fs->removeDirectory($directory);