Skip to content

Commit 5c4757e

Browse files
committed
minor symfony#52124 [HttpKernel] add missing class alias to satisfy autoloading (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [HttpKernel] add missing class alias to satisfy autoloading | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT Commits ------- 2e67979 add missing class alias to satisfy autoloading
2 parents 347d26e + 2e67979 commit 5c4757e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
class_exists(ErrorHandlerFileLinkFormatter::class);
1919

20+
if (!class_exists(FileLinkFormatter::class, false)) {
21+
class_alias(ErrorHandlerFileLinkFormatter::class, FileLinkFormatter::class);
22+
}
23+
2024
if (false) {
2125
/**
2226
* @deprecated since Symfony 6.4, use FileLinkFormatter from the ErrorHandler component instead

0 commit comments

Comments
 (0)