Skip to content

Commit

Permalink
bug #33943 [VarDumper] fix resetting the "bold" state in CliDumper (n…
Browse files Browse the repository at this point in the history
…icolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[VarDumper] fix resetting the "bold" state in CliDumper

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Commits
-------

21645a5 [VarDumper] fix resetting the "bold" state in CliDumper
  • Loading branch information
nicolas-grekas committed Oct 11, 2019
2 parents 4172225 + 21645a5 commit 49ad46e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/VarDumper/Dumper/CliDumper.php
Expand Up @@ -28,7 +28,7 @@ class CliDumper extends AbstractDumper
protected $maxStringWidth = 0;
protected $styles = [
// See http://en.wikipedia.org/wiki/ANSI_escape_code#graphics
'default' => '38;5;208',
'default' => '0;38;5;208',
'num' => '1;38;5;38',
'const' => '1;38;5;208',
'str' => '1;38;5;113',
Expand Down

0 comments on commit 49ad46e

Please sign in to comment.