Thanks to visit codestin.com Credit goes to github.com
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 840c5cc commit 6817109Copy full SHA for 6817109
src/Symfony/Component/VarDumper/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