Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  Replace external FTP server by a local docker instance
  [PhpUnitBridge][Console][VarDumper] Fix handling NO_COLOR env var
  • Loading branch information
nicolas-grekas committed Aug 13, 2024
2 parents ad51051 + 047a8af commit 168f412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DeprecationErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ private static function hasColorSupport()
}

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

Expand Down

0 comments on commit 168f412

Please sign in to comment.