Skip to content

Commit 8fd821e

Browse files
Merge branch '5.4' into 6.4
* 5.4: Replace external FTP server by a local docker instance [PhpUnitBridge][Console][VarDumper] Fix handling NO_COLOR env var
2 parents 397992d + 5051452 commit 8fd821e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/CliDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ private function hasColorSupport(mixed $stream): bool
621621
}
622622

623623
// Follow https://no-color.org/
624-
if ('' !== ($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR') ?: '')) {
624+
if ('' !== (($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR'))[0] ?? '')) {
625625
return false;
626626
}
627627

0 commit comments

Comments
 (0)