No colour with console dump command in Symfony 4.4

Since I updated from Symfony 3.4 to Symfony 4.4, I don’t have any color anymore with the dump command in my console.

The code:

dump(1);
dump(11);
dump(111);
dump(1111);
dump(11111);
dump("A text");
exit;

Provide this output in console with Symfony 3

enter image description here

Provide this output in console with Symfony 4

enter image description here

Same result using composer require --dev symfony/var-dumper

Do you know what I miss?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *