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

[FrameworkBundle] fix writes to static $kernel property#47195

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
xabbuh merged 1 commit intosymfony:4.4fromxabbuh:issue-47186
Aug 5, 2022

Conversation

@xabbuh
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#47186
LicenseMIT
Doc PR

@flack
Copy link
Contributor

I tested this patch against my 4.4 app, and it fixes the issue mentioned in#47186

xabbuh reacted with thumbs up emoji

@xabbuhxabbuh merged commit675756f intosymfony:4.4Aug 5, 2022
@xabbuhxabbuh deleted the issue-47186 branchAugust 5, 2022 09:29
@flack
Copy link
Contributor

Pleas note that the problem also exists in newer Symfony versions, e.g.:

self::$kernel =$kernel;
static::$booted =true;
returnstatic::$kernel;

Should I open a separate ticket for forward ports?

@xabbuh
Copy link
MemberAuthor

As I do not understood how this change here is related to forward ports it seems indeed to be better to open a new issue that describes what you have in mind. :)

@flack
Copy link
Contributor

Sorry, I'm not sure is forward ports is actually a word, I meant it as the opposite of backports (because this is how you do in Symfony, right? You merge to the lowest branch and then you port forwards from there).

What I meant to say was the confusion betweenself::$kernel andstatic::$kernel also exists in newer branches, including 6.2. So the reproduction code in#47186 (or something similar) would also produce an error on these newer branches

@xabbuh
Copy link
MemberAuthor

Oh, I completely misunderstood your previous comment then. :) I was thinking in terms of forwarded ports when using an HTTP proxy. 😄 I have now merged everything up into the6.2 branch.

@flack
Copy link
Contributor

Awesome, thanks!

This was referencedAug 26, 2022
@fabpotfabpot mentioned this pull requestSep 30, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@derrabusderrabusderrabus approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@flack@nicolas-grekas@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp