From 2a4e2e614b9ee6a5e243721ed004d5b3c9a21f56 Mon Sep 17 00:00:00 2001 From: Thomas Calvet Date: Mon, 22 Oct 2018 20:26:40 +0200 Subject: [PATCH] [Debug] Mark the ErrorHandler and ExceptionHandler classes as final --- src/Symfony/Component/Debug/CHANGELOG.md | 5 +++++ src/Symfony/Component/Debug/ErrorHandler.php | 2 ++ src/Symfony/Component/Debug/ExceptionHandler.php | 2 ++ 3 files changed, 9 insertions(+) diff --git a/src/Symfony/Component/Debug/CHANGELOG.md b/src/Symfony/Component/Debug/CHANGELOG.md index 122af73174bf4..2b7bfc8ba30ed 100644 --- a/src/Symfony/Component/Debug/CHANGELOG.md +++ b/src/Symfony/Component/Debug/CHANGELOG.md @@ -1,6 +1,11 @@ CHANGELOG ========= +4.3.0 +----- + +* made the `ErrorHandler` and `ExceptionHandler` classes final + 4.0.0 ----- diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index 912839bc472e2..972fc3a29772f 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -45,6 +45,8 @@ * * @author Nicolas Grekas * @author Grégoire Pineau + * + * @final since Symfony 4.3 */ class ErrorHandler { diff --git a/src/Symfony/Component/Debug/ExceptionHandler.php b/src/Symfony/Component/Debug/ExceptionHandler.php index ea666b1ac3863..259fb548939d1 100644 --- a/src/Symfony/Component/Debug/ExceptionHandler.php +++ b/src/Symfony/Component/Debug/ExceptionHandler.php @@ -26,6 +26,8 @@ * * @author Fabien Potencier * @author Nicolas Grekas + * + * @final since Symfony 4.3 */ class ExceptionHandler {