This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/ErrorHandler
Fabien Potencier b8294398cc feature #33038 [ErrorHandler] Forward \Throwable (fancyweb)
This PR was merged into the 4.4 branch.

Discussion
----------

[ErrorHandler] Forward \Throwable

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/issues/32605
| License       | MIT
| Doc PR        | -

The goal of this PR is that `ErrorHandler::handleException()` handles `\Throwable` directly and forwards it  without altering it.

Commits
-------

62483ed305 [ErrorHandler] Forward \Throwable
2019-09-27 08:24:06 +02:00
..
Exception [ErrorHandler] Forward \Throwable 2019-09-10 14:09:52 +02:00
FatalErrorHandler Import return annotations from vendors 2019-08-14 15:27:41 +02:00
Resources/stubs [ErrorHandler] Relax transition to the new Debug class 2019-07-31 18:24:30 +02:00
Tests feature #33038 [ErrorHandler] Forward \Throwable (fancyweb) 2019-09-27 08:24:06 +02:00
.gitattributes Adding .gitattributes to remove Tests directory from "dist" 2019-09-16 10:12:51 +02:00
.gitignore Add a new ErrorHandler component (mirror of the Debug component) 2019-07-18 09:54:35 +02:00
BufferingLogger.php [ErrorHandler] Added type declarations where possible 2019-07-31 17:58:13 +02:00
CHANGELOG.md Added ErrorHandler::call() method utility to turns any PHP warnings into \ErrorException 2019-08-14 09:05:47 -04:00
composer.json Registers basic exception handler to handle early failures 2019-08-20 14:56:58 -04:00
Debug.php [ErrorHandler] Added type declarations where possible 2019-07-31 17:58:13 +02:00
DebugClassLoader.php [ErrorHandler] fix return-type patching logic 2019-09-25 22:29:01 +02:00
ErrorHandler.php feature #33038 [ErrorHandler] Forward \Throwable (fancyweb) 2019-09-27 08:24:06 +02:00
LICENSE Add a new ErrorHandler component (mirror of the Debug component) 2019-07-18 09:54:35 +02:00
phpunit.xml.dist Add a new ErrorHandler component (mirror of the Debug component) 2019-07-18 09:54:35 +02:00
README.md Add a new ErrorHandler component (mirror of the Debug component) 2019-07-18 09:54:35 +02:00
ThrowableUtils.php [ErrorHandler] Forward \Throwable 2019-09-10 14:09:52 +02:00

ErrorHandler Component

The ErrorHandler component provides tools to manage errors and ease debugging PHP code.

Resources