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

[DependencyInjection] copy synthetic status when resolving child definitions#44986

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

@kbond
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#44972
LicenseMIT
Doc PRn/a

Appears to be the simplest fix for#44972. The only place this appears to be a problem is when using thelint:container command with an auto-configured kernel in 5.3+.

@nicolas-grekas
Copy link
Member

I'd prefer doing that in ResolveInstanceofConditionalsPass. Doable?

@kbond
Copy link
MemberAuthor

I'll need some direction for where to do this inResolveInstanceofConditionalsPass. I tried a few different places but no luck.

@nicolas-grekas
Copy link
Member

just after$definition->setParent($parent);?

@kbond
Copy link
MemberAuthor

kbond commentedJan 12, 2022
edited
Loading

The definition is still synthetic at this point - this is being copied when converting toChildDefinition. It's not beingcopied back inResolveChildDefinitionsPass.

@nicolas-grekas
Copy link
Member

Thank you@kbond.

@nicolas-grekasnicolas-grekas merged commita010891 intosymfony:4.4Jan 19, 2022
@kbondkbond deleted the di-child-synthetic-service branchJanuary 19, 2022 15:07
This was referencedJan 28, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@kbond@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp