-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Symfony\Component\Console\Application::renderException() should accept \Throwable #17257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
The same problem applies to HTTP request/response cycle with events ( |
fabpot
added a commit
that referenced
this issue
Dec 5, 2016
…adus) This PR was squashed before being merged into the 2.7 branch (closes #20736). Discussion ---------- [Console] fixed PHP7 Errors when not using Dispatcher | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #17257, #20110, #20111 | License | MIT | Doc PR | n/a Original fix, #19813, works only when there is event dispatcher available. This PR fix the issue also for scenario without event dispatcher. Closes #20110 issue and #20111 PR connected to it. Closing #17257 , as everywhere the error is converted to exception and it should be handled Commits ------- 899fa79 [Console] fixed PHP7 Errors when not using Dispatcher
This should be closed again (see edit on previous comment). Polished by Nicolas in #22435 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because of PHP 7,
Symfony\Component\Console\Application::renderException()
should also accept\Throwable
type.The text was updated successfully, but these errors were encountered: