Skip to content

Commit 504974c

Browse files
Merge branch '5.4' into 6.4
* 5.4: [Console][PhpUnitBridge][VarDumper] Fix `NO_COLOR` empty value handling [Translation] Fix CSV escape char in `CsvFileLoader` on PHP >= 7.4 [DoctrineBridge] fix messenger bus dispatch inside an active transaction [HttpFoundation] Add tests for uncovered sections treat uninitialized properties referenced by property paths as null properly set up constraint options [ErrorHandler][VarDumper] Remove PHP 8.4 deprecations [Core] Fix & Enhance security arabic translation.
2 parents 68380d6 + cef6239 commit 504974c

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 (isset($_SERVER['NO_COLOR']) || false !== getenv('NO_COLOR')) {
96+
if ('' !== ($_SERVER['NO_COLOR'] ?? getenv('NO_COLOR') ?: '')) {
9797
return false;
9898
}
9999

0 commit comments

Comments
 (0)