Skip to content

[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

Merged
merged 1 commit into from
Jul 6, 2017
Merged

[Debug] Removed ContextErrorException #22804

merged 1 commit into from
Jul 6, 2017

Conversation

mbabker
Copy link
Contributor

@mbabker 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()
Copy link
Member

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 ?

Copy link
Member

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 :)

Copy link
Contributor Author

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.

nicolas-grekas added a commit that referenced this pull request Jul 6, 2017
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
@nicolas-grekas
Copy link
Member

@mbabker I just finished #22832. Can you rebase and finish this PR please?

@mbabker
Copy link
Contributor Author

mbabker commented Jul 6, 2017

Should be good to go.

@nicolas-grekas
Copy link
Member

Thank you @mbabker.

@nicolas-grekas nicolas-grekas merged commit 76dc317 into symfony:master Jul 6, 2017
nicolas-grekas added a commit that referenced this pull request Jul 6, 2017
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
@mbabker mbabker deleted the 4.0-remove-contexterrorexception branch July 6, 2017 13:36
@fabpot fabpot mentioned this pull request Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants