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

[OptionsResolver] Fixed explicitly ignores a depreciation#28968

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:masterfromyceruto:fix_trigger_deprecation
Oct 25, 2018

Conversation

@yceruto
Copy link
Member

@ycerutoyceruto commentedOct 24, 2018
edited
Loading

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#28860 (comment)
LicenseMIT
Doc PR-

When a deprecated option with default value was resolved (the first time it's called) in this case through a lazy evaluation,the default resolution process takes the resolved value and here should also trigger only if the option was provided by the user or is being called from a lazy evaluation, otherwise ignore.

@yceruto
Copy link
MemberAuthor

@ro0NL could you please check that this solves the problem?

Copy link
Contributor

@ro0NLro0NL left a comment

Choose a reason for hiding this comment

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

👌

@fabpot
Copy link
Member

Thank you@yceruto.

@fabpotfabpot merged commit8398947 intosymfony:masterOct 25, 2018
fabpot added a commit that referenced this pull requestOct 25, 2018
…(yceruto)This PR was merged into the 4.2-dev branch.Discussion----------[OptionsResolver] Fixed explicitly ignores a depreciation| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#28860 (comment)| License       | MIT| Doc PR        | -When a deprecated option with default value was resolved (the first time it's called) in this case through a lazy evaluation, [the default resolution process](https://github.com/symfony/symfony/blob/8398947c9c1c1266aad0bea773d0b524e0d81643/src/Symfony/Component/OptionsResolver/OptionsResolver.php#L771-L773) takes the resolved value and here should also trigger only if the option was provided by the user or is being called from a lazy evaluation, otherwise ignore.Commits-------8398947 Fixed explicitly ignores a depreciation
@ycerutoyceruto deleted the fix_trigger_deprecation branchOctober 25, 2018 11:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

+1 more reviewer

@ro0NLro0NLro0NL approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.2

Development

Successfully merging this pull request may close these issues.

5 participants

@yceruto@fabpot@ro0NL@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp