Skip to content

Commit 8a17f92

Browse files
Merge branch '5.1' into 5.x
* 5.1: [Process] Dont test TTY if there is no TTY support Fixing some Mongolian translating the validators for european portuguese language Fix CI Update validators.he.xlf Update security.he.xlf Update validators.he.xlf Improve performances in CircualReference detection [PHPUnitBridge] Fixed crash on Windows with PHP 8 Fix session called initized several time
2 parents 6038f80 + 69c87bf commit 8a17f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/simple-phpunit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
}
239239
$prevRoot = getenv('COMPOSER_ROOT_VERSION');
240240
putenv("COMPOSER_ROOT_VERSION=$PHPUNIT_VERSION.99");
241-
$q = '\\' === \DIRECTORY_SEPARATOR ? '"' : '';
241+
$q = '\\' === \DIRECTORY_SEPARATOR && \PHP_VERSION_ID < 80000 ? '"' : '';
242242
// --no-suggest is not in the list to keep compat with composer 1.0, which is shipped with Ubuntu 16.04LTS
243243
$exit = proc_close(proc_open("$q$COMPOSER install --no-dev --prefer-dist --no-progress $q", [], $p, getcwd()));
244244
putenv('COMPOSER_ROOT_VERSION'.(false !== $prevRoot ? '='.$prevRoot : ''));

0 commit comments

Comments
 (0)