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

[DI] Fix keys resolution in ResolveParameterPlaceHoldersPass#23141

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
fabpot merged 1 commit intosymfony:3.3fromnicolas-grekas:µoptim
Jun 12, 2017

The head ref may contain hidden characters:"\u00B5optim"

Dismiss

Conversation

@nicolas-grekas
Copy link
Member

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

Keys are resolved in 3.2, but we broke that when moving to AbstractRecursivePass.

$value->setProperties($this->bag->resolveValue($value->getProperties()));
$value->setMethodCalls($this->bag->resolveValue($value->getMethodCalls()));
}
if (is_array($value =parent::processValue($value,$isRoot)) &&$value) {
Copy link
Member

Choose a reason for hiding this comment

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

I would move the parent call outside the if, to be more clear (and remove potential mistakes where deciding to remove the handling of keys might also remove the parent call while it is always necessary)

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

done

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit9251a21 intosymfony:3.3Jun 12, 2017
fabpot added a commit that referenced this pull requestJun 12, 2017
…ss (nicolas-grekas)This PR was merged into the 3.3 branch.Discussion----------[DI] Fix keys resolution in ResolveParameterPlaceHoldersPass| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Keys are resolved in 3.2, but we broke that when moving to AbstractRecursivePass.Commits-------9251a21 [DI] Fix keys resolution in ResolveParameterPlaceHoldersPass
@fabpotfabpot mentioned this pull requestJul 4, 2017
@nicolas-grekasnicolas-grekas deleted the µoptim branchJuly 10, 2017 15:58
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp