From e93b571ab52a2eb672db1fcce9b33ac8495e6f33 Mon Sep 17 00:00:00 2001 From: Saro0h Date: Fri, 26 Dec 2014 19:26:05 +0100 Subject: [PATCH] [HttpKernel] Removed deprecated ErrorHandler and ExceptionHandler classes --- .../HttpKernel/Debug/ErrorHandler.php | 27 ------------------- .../HttpKernel/Debug/ExceptionHandler.php | 27 ------------------- 2 files changed, 54 deletions(-) delete mode 100644 src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php delete mode 100644 src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php diff --git a/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php b/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php deleted file mode 100644 index 38203d4adf7ff..0000000000000 --- a/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php +++ /dev/null @@ -1,27 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\HttpKernel\Debug; - -trigger_error('Symfony\Component\HttpKernel\Debug\ErrorHandler is deprecated since version 2.3 and will be removed in 3.0. Use the same class from the Debug component instead.', E_USER_DEPRECATED); - -use Symfony\Component\Debug\ErrorHandler as DebugErrorHandler; - -/** - * ErrorHandler. - * - * @author Fabien Potencier - * - * @deprecated Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead. - */ -class ErrorHandler extends DebugErrorHandler -{ -} diff --git a/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php b/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php deleted file mode 100644 index 7e31b090c284a..0000000000000 --- a/src/Symfony/Component/HttpKernel/Debug/ExceptionHandler.php +++ /dev/null @@ -1,27 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\HttpKernel\Debug; - -trigger_error('Symfony\Component\HttpKernel\Debug\ExceptionHandler is deprecated since version 2.3 and will be removed in 3.0. Use the same class from the Debug component instead.', E_USER_DEPRECATED); - -use Symfony\Component\Debug\ExceptionHandler as DebugExceptionHandler; - -/** - * ExceptionHandler converts an exception to a Response object. - * - * @author Fabien Potencier - * - * @deprecated Deprecated in 2.3, to be removed in 3.0. Use the same class from the Debug component instead. - */ -class ExceptionHandler extends DebugExceptionHandler -{ -}