From 37c99b782ad6b97183ce0a0666dee56af7c97ec3 Mon Sep 17 00:00:00 2001 From: Gregory Pelletier Date: Sat, 6 Dec 2025 10:06:11 +0100 Subject: [PATCH 1/2] fix: update routing configuration to use PHP files for WebProfilerBundle --- tests/Resources/app/AppKernel.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/Resources/app/AppKernel.php b/tests/Resources/app/AppKernel.php index d277b5d2..fe919d99 100644 --- a/tests/Resources/app/AppKernel.php +++ b/tests/Resources/app/AppKernel.php @@ -66,8 +66,9 @@ public function loadRoutes(LoaderInterface $loader): RouteCollection $collection->add('/', new Route('/', ['_controller' => 'kernel::indexAction'])); $routes = new RoutingConfigurator($collection, $kernelLoader, $file, $file); - $routes->import('@WebProfilerBundle/Resources/config/routing/wdt.xml')->prefix('_wdt'); - $routes->import('@WebProfilerBundle/Resources/config/routing/profiler.xml')->prefix('_profiler'); + $extension = self::MAJOR_VERSION >= 7 ? 'php' : 'xml'; + $routes->import('@WebProfilerBundle/Resources/config/routing/wdt.'.$extension)->prefix('_wdt'); + $routes->import('@WebProfilerBundle/Resources/config/routing/profiler.'.$extension)->prefix('_profiler'); return $collection; } From 5e533d36aafafb25c6f516ccef7d9021f8b1c318 Mon Sep 17 00:00:00 2001 From: Gregory Pelletier Date: Sat, 6 Dec 2025 10:57:38 +0100 Subject: [PATCH 2/2] bump symfony http-client version to oldest 7.x supported version --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d2e99dcb..75e6f6da 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -65,8 +65,8 @@ jobs: symfony-require: "6.4.*" php-version: "8.2" symfony-deprecations-helper: "weak" - - dependencies: "php-http/guzzle7-adapter symfony/http-client:^7.1" - symfony-require: "7.1.*" + - dependencies: "php-http/guzzle7-adapter symfony/http-client:^7.3" + symfony-require: "7.3.*" php-version: "8.2" symfony-deprecations-helper: "weak"