Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel] change $previous argument for HttpException to \Throwable#30729
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedMar 27, 2019
Thanks, LGTM. Should target master as it's a new feature. |
sGy1980de commentedMar 28, 2019
@nicolas-grekas |
nicolas-grekas commentedMar 28, 2019
This never worked as you said, so it wasn't supported. Adding support for something that wasn't possible before is almost the definition of a new feature to me. |
sGy1980de commentedMar 28, 2019
So what's next? |
javiereguiluz commentedMar 28, 2019
@sGy1980de I marked it as a bug because the issue description looked as a bug. But I could be wrong, so please don't think that it's definitive. |
sGy1980de commentedMar 29, 2019
Hey guys - what about the bug vs. feature discussion on this? Is it discussed internally or are all following@nicolas-grekas opinion and i should raise this with target master again? |
fabpot commentedMar 29, 2019
I tend to agree with@nicolas-grekas here. |
fabpot commentedMar 30, 2019
Thank you@sGy1980de. |
…on to \Throwable (sGy1980de)This PR was submitted for the 4.2 branch but it was squashed and merged into the 4.3-dev branch instead (closes#30729).Discussion----------[HttpKernel] change $previous argument for HttpException to \Throwable| Q | A| ------------- | ---| Branch? | 4.2| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#30728| License | MITThis willfix#30728 with the suggested solution to change the signature of `HttpException` and all its descendants from `\Exception` to `\Throwable`.Commits-------15cb475 [HttpKernel] change $previous argument for HttpException to \Throwable
This PR was merged into the 4.3-dev branch.Discussion----------Fix some exception previous type hints| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files -->| BC breaks? | no <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass? | yes <!-- please add some, will be required by reviewers -->| Fixed tickets | n/a| License | MIT| Doc PR | n/afollow-up for#30729Commits-------f92efeb fixed some exception previous type hints
This willfix#30728 with the suggested solution to change the signature of
HttpExceptionand all its descendants from\Exceptionto\Throwable.