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" 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; }