Skip to content

Commit 580a49c

Browse files
committed
Fix usage of deprecated .xml files
1 parent 85ee745 commit 580a49c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config/routes/dev/framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
66

77
return static function (RoutingConfigurator $routes): void {
8-
$routes->import('@FrameworkBundle/Resources/config/routing/errors.xml')
8+
$routes->import('@FrameworkBundle/Resources/config/routing/errors.php')
99
->prefix('/_error');
1010
};

config/routes/dev/web_profiler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
66

77
return static function (RoutingConfigurator $routes): void {
8-
$routes->import('@WebProfilerBundle/Resources/config/routing/wdt.xml')
8+
$routes->import('@WebProfilerBundle/Resources/config/routing/wdt.php')
99
->prefix('/_wdt');
10-
$routes->import('@WebProfilerBundle/Resources/config/routing/profiler.xml')
10+
$routes->import('@WebProfilerBundle/Resources/config/routing/profiler.php')
1111
->prefix('/_profiler');
1212
};

0 commit comments

Comments
 (0)