File tree 3 files changed +16
-1
lines changed
Tests/DependencyInjection 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 34
34
35
35
<service id =" twig.extension.webprofiler" class =" Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension" public =" false" >
36
36
<tag name =" twig.extension" />
37
+ <argument type =" service" >
38
+ <service class =" Symfony\Component\VarDumper\Dumper\HtmlDumper" >
39
+ <argument >null</argument >
40
+ <argument >%kernel.charset%</argument >
41
+ <argument type =" constant" >Symfony\Component\VarDumper\Dumper\HtmlDumper::DUMP_LIGHT_ARRAY</argument >
42
+ <call method =" setDisplayOptions" >
43
+ <argument type =" collection" >
44
+ <argument key =" fileLinkFormat" >%debug.file_link_format%</argument >
45
+ </argument >
46
+ </call >
47
+ </service >
48
+ </argument >
37
49
</service >
38
50
</services >
39
51
</container >
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ protected function setUp()
56
56
$ this ->container ->setParameter ('kernel.cache_dir ' , __DIR__ );
57
57
$ this ->container ->setParameter ('kernel.debug ' , false );
58
58
$ this ->container ->setParameter ('kernel.root_dir ' , __DIR__ );
59
+ $ this ->container ->setParameter ('kernel.charset ' , 'UTF-8 ' );
60
+ $ this ->container ->setParameter ('debug.file_link_format ' , null );
59
61
$ this ->container ->setParameter ('profiler.class ' , array ('Symfony \\Component \\HttpKernel \\Profiler \\Profiler ' ));
60
62
$ this ->container ->register ('profiler ' , $ this ->getMockClass ('Symfony \\Component \\HttpKernel \\Profiler \\Profiler ' ))
61
63
->addArgument (new Definition ($ this ->getMockClass ('Symfony \\Component \\HttpKernel \\Profiler \\ProfilerStorageInterface ' )));
Original file line number Diff line number Diff line change 20
20
"symfony/http-kernel" : " ~3.1" ,
21
21
"symfony/polyfill-php70" : " ~1.0" ,
22
22
"symfony/routing" : " ~2.8|~3.0" ,
23
- "symfony/twig-bridge" : " ~2.8|~3.0"
23
+ "symfony/twig-bridge" : " ~2.8|~3.0" ,
24
+ "symfony/var-dumper" : " ~3.2"
24
25
},
25
26
"require-dev" : {
26
27
"symfony/config" : " ~2.8|~3.0" ,
You can’t perform that action at this time.
0 commit comments