- deprecated
FlattenException, use theFlattenExceptionof theErrorHandlercomponent - deprecated the whole component in favor of the
ErrorHandlercomponent
- made the
ErrorHandlerandExceptionHandlerclasses final - added
Exception\FlattenException::getAsStringandException\FlattenException::getTraceAsStringto increase compatibility to php exception objects
- removed the symfony_debug extension
- removed
ContextErrorException
- deprecated
ErrorHandler::stackErrors()andErrorHandler::unstackErrors()
- deprecated the
ContextErrorExceptionclass: use \ErrorException directly now
FlattenException::getTrace()now returns additional type descriptionsintegerandfloat.
- removed classes, methods and interfaces deprecated in 2.x
- added BufferingLogger for errors that happen before a proper logger is configured
- allow throwing from
__toString()withreturn trigger_error($e, E_USER_ERROR); - deprecate ExceptionHandler::createResponse
- added deprecations checking for parent interfaces/classes to DebugClassLoader
- added ZTS support to symfony_debug extension
- added symfony_debug_backtrace() to symfony_debug extension to track the backtrace of fatal errors
- generalized ErrorHandler and ExceptionHandler, with some new methods and others deprecated
- enhanced error messages for uncaught exceptions
- added ExceptionHandler::setHandler()
- added UndefinedMethodFatalErrorHandler
- deprecated DummyException
- added a DebugClassLoader able to wrap any autoloader providing a findFile method
- improved error messages for not found classes and functions
- added the component