-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
Description
| Q | A |
|---|---|
| Bug report? | no |
| Feature request? | yes |
| BC Break report? | no |
| RFC? | no |
| Symfony version | master |
The exception handling subsystem in Symfony’s HttpKernel does not support PHP 7 Throwables yet.
Changes
- Let
Symfony\Component\HttpKernel\HttpKernel::handle()catchThrowable - Invoke
Symfony\Component\HttpKernel\HttpKernel::handleException()and passThrowable - Change
Symfony\Component\HttpKernel\Event\GetResponseForExceptionEventto allowThrowableorException- This is a BC break
⚠️
- This is a BC break
- Change
Symfony\Component\HttpKernel\Event\GetResponseForExceptionEventto hintException|Throwable- This is a BC break
⚠️
- This is a BC break
- Change
Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException()to catchThrowableas well - Change
Symfony\Component\HttpKernel\EventListener\ExceptionListener::logException()to acceptExceptionorThrowable- This is a BC break
⚠️
- This is a BC break
- Change
Symfony\Component\HttpKernel\EventListener\ExceptionListener::duplicateRequest()to acceptExceptionorThrowable- This is a BC break
⚠️
- This is a BC break
- Change
Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer::render()to handleThrowable
Anybody thinks that a bad idea? Anything I forgot? Feedback is more than welcome!
HeahDude, HTMLGuyLLC, derrabus, kcassam, fesor and 1 more