Skip to content

Commit bbccbc7

Browse files
Merge branch '4.4'
* 4.4: [PhpUnitBridge] fix running simple-phpunit on Windows fixed UPGRADE fixed phpdocs fixed phpdocs [ErrorCatcher] Fixed some escaping in XML errors [Messenger] fix broken key normalization [FrameworkBundle] Allow creating chained cache pools by providing several adapters [FrameworkBundle] Use default_locale as default value for translator.fallbacks
2 parents a28e90e + 77aa663 commit bbccbc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/simple-phpunit.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@
130130
}
131131
$prevRoot = getenv('COMPOSER_ROOT_VERSION');
132132
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99");
133+
$q = '\\' === DIRECTORY_SEPARATOR ? '"' : '';
133134
// --no-suggest is not in the list to keep compat with composer 1.0, which is shipped with Ubuntu 16.04LTS
134-
$exit = proc_close(proc_open("$COMPOSER install --no-dev --prefer-dist --no-progress --ansi", array(), $p, getcwd()));
135+
$exit = proc_close(proc_open("$q$COMPOSER install --no-dev --prefer-dist --no-progress --ansi$q", array(), $p, getcwd()));
135136
putenv('COMPOSER_ROOT_VERSION'.(false !== $prevRoot ? '='.$prevRoot : ''));
136137
if ($exit) {
137138
exit($exit);

0 commit comments

Comments
 (0)