Skip to content

Commit b5f440c

Browse files
authored
fix: version number in triggered deprecation (#2577)
## Description Fixes incorrect deprecate version added in #2566 ## What type of PR is this? (check all applicable) - [ ] Bug Fix - [ ] Feature - [ ] Refactor - [ ] Deprecation - [ ] Breaking Change - [ ] Documentation Update - [ ] CI ## Checklist - [ ] I have made corresponding changes to the documentation (`docs/`) - [ ] I have made corresponding changes to the changelog (`CHANGELOG.md`)
1 parent f9fd650 commit b5f440c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routing/swaggerui.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('nelmio/api-doc-bundle', '7.3', 'The "swaggerui.xml" routing configuration file is deprecated, import "swaggerui.php" instead.');
19+
trigger_deprecation('nelmio/api-doc-bundle', '5.6.4', 'The "swaggerui.xml" routing configuration file is deprecated, import "swaggerui.php" instead.');
2020

2121
break;
2222
}

0 commit comments

Comments
 (0)