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

InvalidPromotedPropertiesRule - use FunctionLike as node type #2823

Merged
merged 1 commit into from Dec 13, 2023

Conversation

paulbalandan
Copy link
Contributor

The nodes of interest in this rule all implement Node\FunctionLike so I guessed we can use that as the getNodeType.

@ondrejmirtes
Copy link
Member

Awesome!

@ondrejmirtes ondrejmirtes merged commit a532baf into phpstan:1.10.x Dec 13, 2023
414 of 426 checks passed
@paulbalandan paulbalandan deleted the use-functionlike branch December 13, 2023 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants