-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Debug] Removed ContextErrorException #22804
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
[Debug] Removed ContextErrorException #22804
Conversation
mbabker
commented
May 20, 2017
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | no |
BC breaks? | yes |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #21388 |
License | MIT |
Doc PR | n/a |
@@ -84,11 +84,6 @@ public function testUnsilencing() | |||
|
|||
public function testStacking() |
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.
This test case doesn't test anything anymore.
In fact, this makes me think we should deprecate ErrorHandler::stackErrors()
/ ErrorHandler::unstackErrors()
in 3.4
they are workaround for bugs that are fixed in 5.5.9
this would make this test case @group legacy
thus the removal would be plain legitimate.
would you mind doing so on 3.4 ?
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.
hum in fact it would require this test case to be remove in 3.4 altogether because DebugClassLoader shouldn't call these methods anymore then. Even better :)
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.
Let me give this a try and we'll see what happens.
This PR was merged into the 3.4 branch. Discussion ---------- [Debug] Deprecate support for stacked errors | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | #22804 | License | MIT | Doc PR | n/a Per discussion in #22804 this deprecates support for error stacking. // @nicolas-grekas Commits ------- 04b8b80 Deprecate support for stacked errors
Should be good to go. |
Thank you @mbabker. |
This PR was merged into the 4.0-dev branch. Discussion ---------- [Debug] Removed ContextErrorException | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | yes | Deprecations? | no | Tests pass? | yes | Fixed tickets | #21388 | License | MIT | Doc PR | n/a Commits ------- 76dc317 Removed ContextErrorException