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 5a38841153..5be8195dc4 100644 --- a/src/Symfony/Component/HttpKernel/CHANGELOG.md +++ b/src/Symfony/Component/HttpKernel/CHANGELOG.md @@ -42,8 +42,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 -----