Skip to content

Commit 763063d

Browse files
[PhpUnitBridge] fix installing on PHP 8 (bis)
1 parent ef6b98f commit 763063d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/simple-phpunit

+1-1
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)