File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Config \Definition \Builder \TreeBuilder ;
15
15
use Symfony \Component \Config \Definition \ConfigurationInterface ;
16
- use Symfony \Component \VarDumper \Dumper \HtmlDumper ;
17
16
18
17
/**
19
18
* DebugExtension configuration structure.
@@ -51,21 +50,13 @@ public function getConfigTreeBuilder()
51
50
->example ('php://stderr, or tcp://%env(VAR_DUMPER_SERVER)% when using the "server:dump" command ' )
52
51
->defaultNull ()
53
52
->end ()
54
- ->end ()
55
- ;
56
-
57
- if (method_exists (HtmlDumper::class, 'setTheme ' )) {
58
- $ rootNode
59
- ->children ()
60
- ->enumNode ('theme ' )
61
- ->info ('Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light" ' )
62
- ->example ('dark ' )
63
- ->values (['dark ' , 'light ' ])
64
- ->defaultValue ('dark ' )
65
- ->end ()
53
+ ->enumNode ('theme ' )
54
+ ->info ('Changes the color of the dump() output when rendered directly on the templating. "dark" (default) or "light" ' )
55
+ ->example ('dark ' )
56
+ ->values (['dark ' , 'light ' ])
57
+ ->defaultValue ('dark ' )
66
58
->end ()
67
59
;
68
- }
69
60
70
61
return $ treeBuilder ;
71
62
}
You can’t perform that action at this time.
0 commit comments