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

Skip to content

Improve typing for process callback #60679

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

Merged

Conversation

jack-worman
Copy link
Contributor

@jack-worman jack-worman commented Jun 4, 2025

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

I always find myself digging into the source code to determine what the "shape" of the callback should be. This improvement allows static analysis tools to ensure its correct now.

@carsonbot
Copy link

Hey!

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

@jack-worman jack-worman marked this pull request as ready for review June 4, 2025 01:55
@carsonbot carsonbot added this to the 7.4 milestone Jun 4, 2025
@jack-worman jack-worman force-pushed the Improve-typing-for-process-callback branch from 309ed89 to 00cce47 Compare June 4, 2025 02:03
@jack-worman jack-worman requested a review from chalasr as a code owner June 4, 2025 02:03
@jack-worman jack-worman force-pushed the Improve-typing-for-process-callback branch 2 times, most recently from 01f0536 to 71469bc Compare June 4, 2025 02:10
@jack-worman jack-worman changed the title Improve-typing-for-process-callback [Process] Improve-typing-for-process-callback Jun 4, 2025
@carsonbot carsonbot changed the title [Process] Improve-typing-for-process-callback Improve-typing-for-process-callback Jun 4, 2025
@stof stof changed the title Improve-typing-for-process-callback [Process] Improve typing for process callback Jun 4, 2025
@jack-worman jack-worman force-pushed the Improve-typing-for-process-callback branch 5 times, most recently from 449f89c to 64c9f21 Compare June 4, 2025 13:16
@jack-worman
Copy link
Contributor Author

All comments should be addressed. Thanks for the reviews.

@jack-worman jack-worman requested a review from stof June 4, 2025 13:33
@carsonbot carsonbot changed the title [Process] Improve typing for process callback Improve typing for process callback Jun 4, 2025
@nicolas-grekas nicolas-grekas force-pushed the Improve-typing-for-process-callback branch 2 times, most recently from a4fa6be to 56cc4ff Compare June 4, 2025 13:36
@nicolas-grekas nicolas-grekas force-pushed the Improve-typing-for-process-callback branch from 56cc4ff to 4f6aa8f Compare June 4, 2025 13:44
@nicolas-grekas nicolas-grekas force-pushed the Improve-typing-for-process-callback branch from 4f6aa8f to d8dc857 Compare June 4, 2025 13:51
@nicolas-grekas
Copy link
Member

Thank you @jack-worman.

@nicolas-grekas nicolas-grekas merged commit 5aea219 into symfony:7.4 Jun 4, 2025
10 of 11 checks passed
@jack-worman jack-worman deleted the Improve-typing-for-process-callback branch June 4, 2025 14:07
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