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

[Cache] fix bad optim#29644

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
nicolas-grekas merged 1 commit intosymfony:4.2fromnicolas-grekas:cache-fix
Dec 19, 2018
Merged

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.2
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#29643
LicenseMIT
Doc PR-

@gerty3000
Copy link

@nicolas-grekas out of curiosity, could you provide a description why it fixes the thing?

@nicolas-grekas
Copy link
MemberAuthor

@seclu see what@strider2038 provided in the linked issue#29643.

gerty3000 reacted with thumbs up emoji


$e =new \Exception();
$this->includeHandler =function ()use ($e) {throw$e;};
$this->includeHandler =function ($type,$msg,$file,$line) {
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be a static function?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

it would be a public one - better not (and would be slower if that matters)

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant a static anonymous function, i.e just addingstatic in front of the currentfunction keyword, not moving it to a static method. It doesn't affect the visibility does it?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

static it is now

theofidry reacted with laugh emoji
@stof
Copy link
Member

@seclu it does not create an exception with its stack trace in the constructor anymore. the stack trace was the one retaining references to other stuff.

@nicolas-grekasnicolas-grekas merged commitb76d4ea intosymfony:4.2Dec 19, 2018
nicolas-grekas added a commit that referenced this pull requestDec 19, 2018
This PR was merged into the 4.2 branch.Discussion----------[Cache] fix bad optim| Q             | A| ------------- | ---| Branch?       | 4.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#29643| License       | MIT| Doc PR        | -Commits-------b76d4ea [Cache] fix bad optim
@fabpotfabpot mentioned this pull requestJan 6, 2019
@nicolas-grekasnicolas-grekas deleted the cache-fix branchJanuary 25, 2019 14:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

+1 more reviewer

@theofidrytheofidrytheofidry left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@gerty3000@stof@theofidry@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp