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 mocking decorated services in tests#62795

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

Open
nicolas-grekas wants to merge1 commit intosymfony:6.4
base:6.4
Choose a base branch
Loading
fromnicolas-grekas:62726

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix#62693 and#62726
LicenseMIT

The root issue under#62693 was that the innermost decorated service (the original service wrapped by all decorators) was getting inlined into the first decorator during container compilation. When the service is inlined, it no longer exists as a separate service in the container, soTestContainer::set() can't replace it.

Koc reacted with heart emoji
@HypeMC
Copy link
Member

I'm afraid this still doesn't solve the HttpClient problem because the service name is different. For example, before it wasmy.client and now it'smy.client.scoping.

nicolas-grekas reacted with eyes emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@HypeMC@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp