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

[2.6] Remove possible call_user_func()#12532

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:2.6fromnicolas-grekas:no-call-user-func-26
Dec 11, 2014

Conversation

@nicolas-grekas
Copy link
Member

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

Remove possible call_user_func() introduced in 2.6

Copy link
Contributor

Choose a reason for hiding this comment

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

these could both bearray() format callables, this won't work?

Copy link
Member

Choose a reason for hiding this comment

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

no they cannot. See the typehint on setNormalizer, and the detection of lazy options. Both are enforcing the usage of a Closure

@stof
Copy link
Member

👍

@stof
Copy link
Member

btw, similar calls could be removed in 2.3 (the 2.6 branch has moved the logic to a different class in the component, but it is the same)

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit1de4920 intosymfony:2.6Dec 11, 2014
fabpot added a commit that referenced this pull requestDec 11, 2014
This PR was merged into the 2.6 branch.Discussion----------[2.6] Remove possible call_user_func()| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Remove possible call_user_func() introduced in 2.6Commits-------1de4920 [2.6] Remove possible call_user_func()
@nicolas-grekasnicolas-grekas deleted the no-call-user-func-26 branchDecember 11, 2014 19:21
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@stof@fabpot@jameshalsall

[8]ページ先頭

©2009-2025 Movatter.jp