Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jack-worman
Copy link
Contributor

Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? no
Issues
License MIT

Defining a callable's shape is important to have valid static analysis.
It also improves documentation because developers no longer need to search the source code for what callable shape to use.

@jack-worman jack-worman requested a review from chalasr as a code owner June 11, 2025 12:26
@carsonbot carsonbot added this to the 7.4 milestone Jun 11, 2025
@jack-worman jack-worman force-pushed the Improve-callable-typing branch from 609c5fd to eeb6152 Compare June 11, 2025 12:29
@jack-worman
Copy link
Contributor Author

Thanks for the review.
All comments should be addressed.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

LGTM except for the changes in FrameworkBundle's DependencyInjection namespace which look useless to me.

@jack-worman jack-worman force-pushed the Improve-callable-typing branch from 435e0be to fb3c39c Compare June 15, 2025 13:17
@jack-worman
Copy link
Contributor Author

jack-worman commented Jun 15, 2025

LGTM except for the changes in FrameworkBundle's DependencyInjection namespace which look useless to me.

I reverted those changes. But I would like to say: static analysis tools are only as useful as the typing you give them!

@nicolas-grekas
Copy link
Member

Thank you @jack-worman.

@nicolas-grekas nicolas-grekas merged commit 440e337 into symfony:7.4 Jun 15, 2025
10 of 11 checks passed
@jack-worman jack-worman deleted the Improve-callable-typing branch June 15, 2025 18:09
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