FileLinkFormatter.php 954 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\HttpKernel\Debug;
  11. use Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter as ErrorHandlerFileLinkFormatter;
  12. trigger_deprecation('symfony/http-kernel', '6.4', 'The "%s" class is deprecated, use "%s" instead.', FileLinkFormatter::class, ErrorHandlerFileLinkFormatter::class);
  13. class_exists(ErrorHandlerFileLinkFormatter::class);
  14. if (!class_exists(FileLinkFormatter::class, false)) {
  15. class_alias(ErrorHandlerFileLinkFormatter::class, FileLinkFormatter::class);
  16. }
  17. if (false) {
  18. /**
  19. * @deprecated since Symfony 6.4, use FileLinkFormatter from the ErrorHandler component instead
  20. */
  21. class FileLinkFormatter extends ErrorHandlerFileLinkFormatter
  22. {
  23. }
  24. }