From fdb9181d674998a62b695f5ea5c17d27372d0192 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 15 Oct 2019 15:33:13 +0200 Subject: [PATCH] Remove legacy changelog lines --- UPGRADE-4.4.md | 27 ------------------- UPGRADE-5.0.md | 27 ------------------- src/Symfony/Component/HttpKernel/CHANGELOG.md | 2 -- 3 files changed, 56 deletions(-) diff --git a/UPGRADE-4.4.md b/UPGRADE-4.4.md index dfbad35a97..db46529072 100644 --- a/UPGRADE-4.4.md +++ b/UPGRADE-4.4.md @@ -155,33 +155,6 @@ HttpKernel current directory or with a glob pattern. The fallback directories have never been advocated so you likely do not use those in any app based on the SF Standard or Flex edition. * Getting the container from a non-booted kernel is deprecated - * Deprecated passing the `exception` attribute (instance of `Symfony\Component\Debug\Exception\FlattenException`) - to the configured controller of the `ExceptionListener`, use the `e` attribute - (instance of `Symfony\Component\ErrorRenderer\Exception\FlattenException`) instead - - before: - ```php - use Symfony\Component\Debug\Exception\FlattenException; - - class ExceptionController - { - public function __invoke(FlattenException $exception) - { - } - } - ``` - - after: - ```php - use Symfony\Component\ErrorRenderer\Exception\FlattenException; - - class ExceptionController - { - public function __invoke(FlattenException $e) - { - } - } - ``` Lock ---- diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index f7fbd19e82..a9c1e711e4 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -341,33 +341,6 @@ HttpKernel * Removed the second and third argument of `FileLocator::__construct` * Removed loading resources from `%kernel.root_dir%/Resources` and `%kernel.root_dir%` as fallback directories. - * Removed passing the `exception` attribute (instance of `Symfony\Component\Debug\Exception\FlattenException`) - to the configured controller of the `ExceptionListener`, use the `e` attribute - (instance of `Symfony\Component\ErrorRenderer\Exception\FlattenException`) instead - - before: - ```php - use Symfony\Component\Debug\Exception\FlattenException; - - class ExceptionController - { - public function __invoke(FlattenException $exception) - { - } - } - ``` - - after: - ```php - use Symfony\Component\ErrorRenderer\Exception\FlattenException; - - class ExceptionController - { - public function __invoke(FlattenException $e) - { - } - } - ``` Intl ---- diff --git a/src/Symfony/Component/HttpKernel/CHANGELOG.md b/src/Symfony/Component/HttpKernel/CHANGELOG.md index f635698347..6a11a170b3 100644 --- a/src/Symfony/Component/HttpKernel/CHANGELOG.md +++ b/src/Symfony/Component/HttpKernel/CHANGELOG.md @@ -15,8 +15,6 @@ CHANGELOG * Marked all dispatched event classes as `@final` * Added `ErrorController` to enable the preview and error rendering mechanism * Getting the container from a non-booted kernel is deprecated. - * Deprecated passing the `exception` attribute (instance of `Symfony\Component\Debug\Exception\FlattenException`) - to the configured controller of the `ExceptionListener` 4.3.0 -----