Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Debug] Deprecate support for stacked errors #22832

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] Deprecate support for stacked errors #22832

merged 1 commit into from
Jul 6, 2017

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented May 21, 2017

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

@mbabker mbabker changed the title Deprecate support for stacked errors [Debug] Deprecate support for stacked errors May 21, 2017
/**
* @group legacy
* @expectedDeprecation Support for stacking errors is deprecated since Symfony 3.4 and will be removed in 4.0.
* @expectedDeprecation Support for unstacking errors is deprecated since Symfony 3.4 and will be removed in 4.0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test are failing, partly because this isn't triggered anymore since the stacking calls are removed from DebugClassLoader
I think the entire test case should be remove
dunno about the other failure yet

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone May 21, 2017
@nicolas-grekas
Copy link
Member

rebase needed

UPGRADE-3.4.md Outdated
Debug
-----

* support for stacked errors in the `ErrorHanlder` is deprecated and will
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ErrorHandler typo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

UPGRADE-4.0.md Outdated
@@ -70,6 +70,8 @@ Debug
* `FlattenException::getTrace()` now returns additional type descriptions
`integer` and `float`.

* support for stacked errors in the `ErrorHanlder` has been removed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ErrorHandler typo

@mbabker
Copy link
Contributor Author

mbabker commented Jul 5, 2017

FWIW I spent a little bit yesterday trying to figure out a way to get this failing test to work (mbabker@fde02c6 and mbabker@0e87986 being failed solutions, actually they caused PHP 5.6 to start erroring on my Travis builds). The only other option I can come up with right now is to just drop it, I don't know what's triggering a parse error but it clearly isn't happening with the stacking gone.

@nicolas-grekas nicolas-grekas self-requested a review July 5, 2017 15:21
@nicolas-grekas
Copy link
Member

Thank you @mbabker.

@nicolas-grekas nicolas-grekas merged commit 04b8b80 into symfony:3.4 Jul 6, 2017
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
@mbabker mbabker deleted the 3.4-deprecate-error-stacking branch July 6, 2017 12:16
This was referenced Oct 18, 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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.