Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

[Debug] cleanup interfaces before 2.5-final#10941

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

Merged

Conversation

@nicolas-grekas
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsnone
LicenseMIT
Doc PRnone

This PR is targeted at cleaning up interfaces before 2.5 final:

  • ExceptionHandlerInterface has never been released in a stable Symfony, lets drop it, not deprecate it,
  • generalize a little bit how fatal errors are handled and make them take the same path as uncaught exceptions,
  • enhance handling of out of memory situations.

@nicolas-grekas
Copy link
MemberAuthor

Call for review:
This PR is now a two in one: cleanup and OOM bug fix.
I just added a commit for better handling of out of memory situations.
This should prevent some remaining blank pages.

Copy link
Member

Choose a reason for hiding this comment

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

why duplicating all this logic here, while it is already done by the parent class ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Right, I'll add an argument to the constructor instead

Copy link
Member

Choose a reason for hiding this comment

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

is there a difference in the logic in both cases ? I haven't checked the code locally to be able to compare both files easily

Copy link
Member

Choose a reason for hiding this comment

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

OK, saw it. It is the usage of params in the trace

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Fixed

@nicolas-grekasnicolas-grekas mentioned this pull requestMay 20, 2014
4 tasks
@nicolas-grekas
Copy link
MemberAuthor

Any comment here? Otherwise@fabpot this is 👍 for merge in 2.5 on my side

Copy link
Member

Choose a reason for hiding this comment

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

missing documentation for@return

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commite3255bf intosymfony:masterMay 21, 2014
fabpot added a commit that referenced this pull requestMay 21, 2014
…rekas)This PR was merged into the 2.4-dev branch.Discussion----------[Debug] cleanup interfaces before 2.5-final| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | none| License       | MIT| Doc PR        | noneThis PR is targeted at cleaning up interfaces before 2.5 final:- ExceptionHandlerInterface has never been released in a stable Symfony, lets drop it, not deprecate it,- generalize a little bit how fatal errors are handled and make them take the same path as uncaught exceptions,- enhance handling of out of memory situations.Commits-------e3255bf [Debug] better ouf of memory error handlingdfa8ff8 [Debug] cleanup interfaces before 2.5-final
@nicolas-grekasnicolas-grekas deleted the debug-interface-cleanup branchMay 21, 2014 12:40
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@fabpot@stof

[8]ページ先頭

©2009-2025 Movatter.jp