8000 [PhpUnitBridge] fix installing on PHP 8 (bis) · symfony/symfony@c101259 · GitHub
[go: up one dir, main page]

Skip to content

Commit c101259

Browse files
[PhpUnitBridge] fix installing on PHP 8 (bis)
1 parent 606715b commit c101259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
8989
}
9090

9191
$info = array();
92-
foreach (explode("\n", `$COMPOSER info -a -n phpunit/phpunit "$PHPUNIT_VERSION.*"`) as $line) {
92+
foreach (explode("\n", `$COMPOSER info --no-ansi -a -n phpunit/phpunit "$PHPUNIT_VERSION.*"`) as $line) {
9393
$line = rtrim($line);
9494

9595
if (!$info && preg_match('/^versions +: /', $line)) {

0 commit comments

Comments
 (0)
0