Skip to content
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

apply parameter closure type extension in FunctionCallParametersCheck #3347

Open
wants to merge 8 commits into
base: 1.12.x
Choose a base branch
from

Conversation

schlndh
Copy link
Contributor

@schlndh schlndh commented Aug 25, 2024

@ondrejmirtes
Copy link
Member

I thought about this. I thought I wanted a different solution using virtual nodes but it'd need a lot of refactoring. And maybe it'd still be very hard.

For similar reasons I already added $scope->pushInFunctionCall() in the same Check class.

So feel free to pursue the same direction you started 😊

@schlndh schlndh force-pushed the feature-applyParameterClosureTypeExtensionInFuncCallCheck branch 2 times, most recently from ee278fc to 3d593f5 Compare August 26, 2024 16:03
@schlndh schlndh force-pushed the feature-applyParameterClosureTypeExtensionInFuncCallCheck branch from 74e9ac6 to 1665c48 Compare August 30, 2024 10:38
@schlndh schlndh changed the base branch from 1.11.x to 1.12.x August 30, 2024 10:38
@schlndh schlndh marked this pull request as ready for review August 30, 2024 11:03
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@schlndh schlndh force-pushed the feature-applyParameterClosureTypeExtensionInFuncCallCheck branch from 7fda20c to f63df3b Compare September 13, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

preg_replace_callback doesn't account for flags in callback signature
3 participants