Skip to content

Update confusing first class callable syntax #17614

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

alamirault
Copy link
Contributor

#16685

I replaced by '...' when arg is only one string, else /* ... */
I found these case with ->[a-zA-Z]+\(\. regex

@alamirault alamirault requested a review from xabbuh as a code owner December 24, 2022 14:49
@carsonbot carsonbot added this to the 5.4 milestone Dec 24, 2022
@javiereguiluz
Copy link
Member

Antoine, this is a very nice contribution. You are right that this was OK in the past but now it's confusing because of the PHP first class callable syntax. Thanks for taking the time to review all docs about this!

@javiereguiluz javiereguiluz merged commit f7b2624 into symfony:5.4 Dec 26, 2022
@alamirault alamirault deleted the hotfix/16685-update-confusing-first-class-callable-syntax branch December 26, 2022 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants