8000 minor #60703 [WebProfilerBundle] Fix typos in routing config deprecat… · symfony/symfony@a784ff8 · GitHub
[go: up one dir, main page]

Skip to content

Commit a784ff8

Browse files
committed
minor #60703 [WebProfilerBundle] Fix typos in routing config deprecation messages (dheineman)
This PR was merged into the 7.3 branch. Discussion ---------- [WebProfilerBundle] Fix typos in routing config deprecation messages | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Fixes some typos in the deprecation messages introduced in #60232. Commits ------- 2547946 [WebProfilerBundle] Fix typos in routing config deprecation messages
2 parents 42e5ad5 + 2547946 commit a784ff8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/profiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
foreach (debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT) as $trace) {
1717
if (isset($trace['object']) && $trace['object'] instanceof XmlFileLoader && 'doImport' === $trace['function']) {
1818
if (__DIR__ === dirname(realpath($trace['args'][3]))) {
19-
trigger_deprecation('symfony/routing', '7.3', 'The "profiler.xml" routing configuration file is deprecated, import "profile.php" instead.');
19+
trigger_deprecation('symfony/routing', '7.3', 'The "profiler.xml" routing configuration file is deprecated, import "profiler.php" instead.');
2020

2121
break;
2222
}

src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/wdt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
foreach (debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT) as $trace) {
1717
if (isset($trace['object']) && $trace['object'] instanceof XmlFileLoader && 'doImport' === $trace['function']) {
1818
if (__DIR__ === dirname(realpath($trace['args'][3]))) {
19-
trigger_deprecation('symfony/routing', '7.3', 'The "xdt.xml" routing configuration file is deprecated, import "xdt.php" instead.');
19+
trigger_deprecation('symfony/routing', '7.3', 'The "wdt.xml" routing configuration file is deprecated, import "wdt.php" instead.');
2020

2121
break;
2222
}

0 commit comments

Comments
 (0)
0