-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[ErrorRenderer] extend legacy exception for backwards compatibility #33981
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
Conversation
xabbuh
commented
Oct 14, 2019
Q | A |
---|---|
Branch? | 4.4 |
Bug fix? | yes |
New feature? | no |
Deprecations? | no |
Tickets | |
License | MIT |
Doc PR |
83450a3
to
6c1e244
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We tried hard not doing so but we have to face the truth, that's the only way :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 we should also update the HttpKernel\...\ExceptionListener
class according to this approach.
@@ -39,12 +40,12 @@ class FlattenException | |||
private $file; | |||
private $line; | |||
|
|||
public static function create(\Exception $exception, int $statusCode = null, array $headers = []): self | |||
public static function create(\Exception $exception, $statusCode = null, array $headers = []): self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
: LegacyFlattenException
?
Just asking: Did you find another BC break? Won't #33941 be enough to keep the BC? |
see 3.4 and 4.3 in https://travis-ci.org/symfony/symfony/builds |
94c0a72
to
7432e68
Compare
Status: Needs Review |
7432e68
to
71a0b9b
Compare
Thank you @xabbuh. |
…atibility (xabbuh) This PR was merged into the 4.4 branch. Discussion ---------- [ErrorRenderer] extend legacy exception for backwards compatibility | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 71a0b9b extend legacy exception for backwards compatibility