Skip to content

Commit 122ba59

Browse files
Merge branch '7.1' into 7.2
* 7.1: Replace external FTP server by a local docker instance [PhpUnitBridge][Console][VarDumper] Fix handling NO_COLOR env var fix test [Validator] Add test for `D` regex modifier in `TimeValidator`
2 parents 8031238 + 5691ea3 commit 122ba59

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
@@ -587,7 +587,7 @@ private function hasColorSupport(mixed $stream): bool
587587
}
588588

589589
// Follow https://no-color.org/
590-
if ('' !== ($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR') ?: '')) {
590+
if ('' !== (($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR'))[0] ?? '')) {
591591
return false;
592592
}
593593

0 commit comments

Comments
 (0)