Consistently use when@env (#1058)

This commit is contained in:
Nicolas Grekas
2022-02-15 16:55:00 +01:00
committed by GitHub
parent ee79aec158
commit fadeac1c28
14 changed files with 121 additions and 0 deletions
@@ -0,0 +1,15 @@
when@dev:
web_profiler:
toolbar: true
intercept_redirects: false
framework:
profiler: { only_exceptions: false }
when@test:
web_profiler:
toolbar: false
intercept_redirects: false
framework:
profiler: { collect: false }
@@ -0,0 +1,8 @@
when@dev:
web_profiler_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt
web_profiler_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler
@@ -0,0 +1,11 @@
{
"bundles": {
"Symfony\\Bundle\\WebProfilerBundle\\WebProfilerBundle": ["dev", "test"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"conflict": {
"symfony/framework-bundle": "<5.3"
}
}