WIP: Upgrade skeleton to symfony 5 #18

Draft
julienfastre wants to merge 47 commits from upgrade-sf5 into main
6 changed files with 29 additions and 26 deletions
Showing only changes of commit ca5f69b911 - Show all commits

View File

@ -1,6 +0,0 @@
web_profiler:
toolbar: true
intercept_redirects: false
framework:
profiler: { only_exceptions: false }

View File

@ -1,6 +0,0 @@
web_profiler:
toolbar: false
intercept_redirects: false
framework:
profiler: { collect: false }

View File

@ -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 }

View File

@ -1,7 +0,0 @@
web_profiler_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt
web_profiler_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler

View File

@ -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

View File

@ -772,17 +772,16 @@
"version": "v5.1.3" "version": "v5.1.3"
}, },
"symfony/web-profiler-bundle": { "symfony/web-profiler-bundle": {
"version": "3.3", "version": "5.4",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "master", "branch": "main",
"version": "3.3", "version": "5.3",
"ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6" "ref": "24bbc3d84ef2f427f82104f766014e799eefcc3e"
}, },
"files": [ "files": [
"config/packages/dev/web_profiler.yaml", "config/packages/web_profiler.yaml",
"config/packages/test/web_profiler.yaml", "config/routes/web_profiler.yaml"
"config/routes/dev/web_profiler.yaml"
] ]
}, },
"symfony/webpack-encore-bundle": { "symfony/webpack-encore-bundle": {