]> Raphaël G. Git Repositories - blog/commitdiff
Update web profiler package and route config
authorRaphaël Gertz <git@rapsys.eu>
Thu, 16 Oct 2025 15:32:32 +0000 (17:32 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 16 Oct 2025 15:32:32 +0000 (17:32 +0200)
config/packages/web_profiler.yaml
config/routes/web_profiler.yaml

index b94611102de60c95b63ab6e990b241796da4ace2..0eac3c989f713ac187a90086b1f105f44956d2c1 100644 (file)
@@ -1,17 +1,13 @@
 when@dev:
     web_profiler:
         toolbar: true
-        intercept_redirects: false
 
     framework:
         profiler:
-            only_exceptions: false
             collect_serializer_data: true
 
 when@test:
-    web_profiler:
-        toolbar: false
-        intercept_redirects: false
-
     framework:
-        profiler: { collect: false }
+        profiler:
+            collect: false
+            collect_serializer_data: true
index 8d85319fd8654424c2c9602a3f813415d58b6dae..b3b7b4b0e08fd1ecbad28bc2cdbd35c09958ed64 100644 (file)
@@ -1,8 +1,8 @@
 when@dev:
     web_profiler_wdt:
-        resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
+        resource: '@WebProfilerBundle/Resources/config/routing/wdt.php'
         prefix: /_wdt
 
     web_profiler_profiler:
-        resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
+        resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
         prefix: /_profiler