8000 Merge branch '6.4' into 7.1 · symfony/console@6e710b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e710b5

Browse files
Merge branch '6.4' into 7.1
* 6.4: 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 e124ab6 + b406d22 commit 6e710b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Output/StreamOutput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function doWrite(string $message, bool $newline): void
9090
protected function hasColorSupport(): bool
9191
{
9292
// Follow https://no-color.org/
93-
if ('' !== ($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR') ?: '')) {
93+
if ('' !== (($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR'))[0] ?? '')) {
9494
return false;
9595
}
9696

0 commit comments

Comments
 (0)
0