Skip to content

src/Rules/Api/*Rule: cheap checks first - #6206

Merged
staabm merged 3 commits into
phpstan:2.2.xfrom
staabm:cheap4
Aug 10, 2026
Merged

src/Rules/Api/*Rule: cheap checks first#6206
staabm merged 3 commits into
phpstan:2.2.xfrom
staabm:cheap4

Conversation

@staabm

@staabm staabm commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

defer function reflection after the cheaper is-in-scope check

@staabm staabm changed the title RuntimeReflectionFunctionRule: cheap checks first src/Rules/Api/*Rule: cheap checks first Aug 10, 2026
@staabm
staabm marked this pull request as ready for review August 10, 2026 13:38
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@staabm
staabm merged commit c24bcf4 into phpstan:2.2.x Aug 10, 2026
1122 of 1128 checks passed
@staabm
staabm deleted the cheap4 branch August 10, 2026 14:01
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.

3 participants