8000 [PhpUnitBridge] silence which · symfony/symfony@140c4f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 140c4f8

Browse files
authored
[PhpUnitBridge] silence which
1 parent ffd612c commit 140c4f8

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
@@ -47,7 +47,7 @@ if ('phpdbg' === PHP_SAPI) {
4747
$PHP .= ' -qrr';
4848
}
4949

50-
$COMPOSER = file_exists($COMPOSER = $oldPwd.'/composer.phar') || ($COMPOSER = rtrim('\\' === DIRECTORY_SEPARATOR ? preg_replace('/[\r\n].*/', '', `where.exe composer.phar`) : `which composer.phar`))
50+
$COMPOSER = file_exists($COMPOSER = $oldPwd.'/composer.phar') || ($COMPOSER = rtrim('\\' === DIRECTORY_SEPARATOR ? preg_replace('/[\r\n].*/', '', `where.exe composer.phar`) : `which composer.phar 2> /dev/null`))
5151
? $PHP.' '.escapeshellarg($COMPOSER)
5252
: 'composer';
5353

0 commit comments

Comments
 (0)
0