[Hackday] [2.7] Add a deprecation note about Debug component classes

Resolves #12623
This commit is contained in:
David Fuhr 2014-11-29 11:54:27 +01:00
parent 4e6b74bb00
commit 5876f520d4
4 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,8 @@
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;
/**

View File

@ -11,6 +11,8 @@
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;
/**

View File

@ -11,6 +11,8 @@
namespace Symfony\Component\HttpKernel\Exception;
trigger_error('Symfony\Component\HttpKernel\Exception\FatalErrorException 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\Exception\FatalErrorException as DebugFatalErrorException;
/**

View File

@ -11,6 +11,8 @@
namespace Symfony\Component\HttpKernel\Exception;
trigger_error('Symfony\Component\HttpKernel\Exception\FlattenException 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\Exception\FlattenException as DebugFlattenException;
/**