10000 Merge branch '5.4' into 6.4 · symfony/console@b406d22 · GitHub
[go: up one dir, main page]

Skip to content

Commit b406d22

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 74d6d39 + f96ee2a commit b406d22

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
@@ -93,7 +93,7 @@ protected function doWrite(string $message, bool $newline)
9393
protected function hasColorSupport(): bool
9494
{
9595
// Follow https://no-color.org/
96-
if ('' !== ($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR') ?: '')) {
96+
if ('' !== (($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR'))[0] ?? '')) {
9797
return false;
9898
}
9999

0 commit comments

Comments
 (0)
0