We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6172e4a commit 462cbc0Copy full SHA for 462cbc0
Dumper/CliDumper.php
@@ -564,6 +564,10 @@ protected function supportsColors()
564
*/
565
protected function dumpLine(int $depth, bool $endOfValue = false)
566
{
567
+ if (null === $this->colors) {
568
+ $this->colors = $this->supportsColors();
569
+ }
570
+
571
if ($this->colors) {
572
$this->line = sprintf("\033[%sm%s\033[m", $this->styles['default'], $this->line);
573
}
0 commit comments