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] Fix repeatable#[AsTaggedItem] to avoid double registration and ignoringcontainer.ignore_attributes#62327

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

Conversation

@alexandre-daubois
Copy link
Member

@alexandre-dauboisalexandre-daubois commentedNov 6, 2025
edited
Loading

QA
Branch?7.3
Bug fix?yes
New feature?no
Deprecations?no
Issues#59088 (comment)
LicenseMIT

More reviewablewithout whitespaces

…e registration and ignoring `container.ignore_attributes`
$reflector =null !==$class ?$container->getReflectionClass($class) :null;
$checkTaggedItem = !$definition->hasTag($definition->isAutoconfigured() ?'container.ignore_attributes' :$tagName);

foreach ($attributesas$attribute) {
Copy link
Member

Choose a reason for hiding this comment

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

This loop is about looping over the various tags added explicitly in the service definition. Anything that skips this loop is broken by design. Explicit tag attributes must win over the AsTaggedItem attribute providing autoconfigured fallback values (see the priority of values inPriorityTaggedServiceUtil::getDefault())

@nicolas-grekas
Copy link
Member

Thanks but as explained by@stof, this doesn't fix the issue. I submitted#62329 instead.

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

Reviewers

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

7.3

Development

Successfully merging this pull request may close these issues.

4 participants

@alexandre-daubois@nicolas-grekas@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp