Skip to content

Commit 81ae1a4

Browse files
Merge branch '5.4' into 6.4
* 5.4: [PhpUnitBridge][VarDumper] fix color detection [CI] Make sure we preserve file->header when we run sync-translations.php Review validators.sl.xlf
2 parents f9db2cc + 760a863 commit 81ae1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/CliDumper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ private function hasColorSupport(mixed $stream): bool
627627
// Detect msysgit/mingw and assume this is a tty because detection
628628
// does not work correctly, see https://github.com/composer/composer/issues/9690
629629
if (!@stream_isatty($stream) && !\in_array(strtoupper((string) getenv('MSYSTEM')), ['MINGW32', 'MINGW64'], true)) {
630-
return true;
630+
return false;
631631
}
632632

633633
if ('\\' === \DIRECTORY_SEPARATOR && @sapi_windows_vt100_support($stream)) {

0 commit comments

Comments
 (0)