Skip to content

Commit 2e67979

Browse files
committed
add missing class alias to satisfy autoloading
1 parent e4c4856 commit 2e67979

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)