Skip to content

Commit 420d3ec

Browse files
authored
add note when we can remove this BC hack again
1 parent 5e533d3 commit 420d3ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Resources/app/AppKernel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function loadRoutes(LoaderInterface $loader): RouteCollection
6666
$collection->add('/', new Route('/', ['_controller' => 'kernel::indexAction']));
6767

6868
$routes = new RoutingConfigurator($collection, $kernelLoader, $file, $file);
69+
// TODO hardcode xml when we support only Symfony 7.3 or higher.
6970
$extension = self::MAJOR_VERSION >= 7 ? 'php' : 'xml';
7071
$routes->import('@WebProfilerBundle/Resources/config/routing/wdt.'.$extension)->prefix('_wdt');
7172
$routes->import('@WebProfilerBundle/Resources/config/routing/profiler.'.$extension)->prefix('_profiler');

0 commit comments

Comments
 (0)