- deprecated
FlattenException
, use theFlattenException
of theErrorHandler
component - deprecated the whole component in favor of the
ErrorHandler
component
- made the
ErrorHandler
andExceptionHandler
classes final - added
Exception\FlattenException::getAsString
andException\FlattenException::getTraceAsString
to increase compatibility to php exception objects
- removed the symfony_debug extension
- removed
ContextErrorException
- deprecated
ErrorHandler::stackErrors()
andErrorHandler::unstackErrors()
- deprecated the
ContextErrorException
class: use \ErrorException directly now
FlattenException::getTrace()
now returns additional type descriptionsinteger
andfloat
.
- 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