File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class WebProfilerExtension extends ProfilerExtension
45
45
public function __construct (HtmlDumper $ dumper = null )
46
46
{
47
47
$ this ->dumper = $ dumper ?: new HtmlDumper ();
48
- $ this ->dumper ->setOutput ($ this ->output = fopen ('php://memory ' , 'r+b ' ));
48
+ $ this ->dumper ->setOutput ($ this ->output = fopen ('php://memory ' , 'r+ ' ));
49
49
}
50
50
51
51
public function enter (Profile $ profile ): void
@@ -56,7 +56,7 @@ public function enter(Profile $profile): void
56
56
public function leave (Profile $ profile ): void
57
57
{
58
58
if (0 === --$ this ->stackLevel ) {
59
- $ this ->dumper ->setOutput ($ this ->output = fopen ('php://memory ' , 'r+b ' ));
59
+ $ this ->dumper ->setOutput ($ this ->output = fopen ('php://memory ' , 'r+ ' ));
60
60
}
61
61
}
62
62
Original file line number Diff line number Diff line change 22
22
"symfony/http-kernel" : " ^4.4|^5.0" ,
23
23
"symfony/routing" : " ^4.4|^5.0" ,
24
24
"symfony/twig-bundle" : " ^4.4|^5.0" ,
25
- "twig/twig" : " ^2.10 |^3.0"
25
+ "twig/twig" : " ^2.13 |^3.0.4 "
26
26
},
27
27
"require-dev" : {
28
28
"symfony/browser-kit" : " ^4.4|^5.0" ,
You can’t perform that action at this time.
0 commit comments