Skip to content

Commit c17973f

Browse files
authored
[web-profiler-bundle] Enable serializer data collector on 6.1 (#1095)
1 parent 7ba147b commit c17973f

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
when@dev:
2+
web_profiler:
3+
toolbar: true
4+
intercept_redirects: false
5+
6+
framework:
7+
profiler:
8+
only_exceptions: false
9+
collect_serializer_data: true
10+
11+
when@test:
12+
web_profiler:
13+
toolbar: false
14+
intercept_redirects: false
15+
16+
framework:
17+
profiler: { collect: false }
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
when@dev:
2+
web_profiler_wdt:
3+
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
4+
prefix: /_wdt
5+
6+
web_profiler_profiler:
7+
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
8+
prefix: /_profiler
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"bundles": {
3+
"Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle": ["dev", "test"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/"
7+
},
8+
"conflict": {
9+
"symfony/framework-bundle": "<6.1"
10+
}
11+
}

0 commit comments

Comments
 (0)