Skip to content

Debug-Rules: cheap checks first - #4764

Merged
ondrejmirtes merged 1 commit into
phpstan:2.1.xfrom
staabm:dbg
Jan 17, 2026
Merged

ondrejmirtes merged 1 commit into
phpstan:2.1.xfrom
staabm:dbg

Conversation

@staabm

@staabm staabm commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

prevent calls into reflection when $args does not contain the expected number of elements

@staabm
staabm marked this pull request as draft January 15, 2026 09:12
@staabm
staabm marked this pull request as ready for review January 15, 2026 09:12
@phpstan-bot

Copy link
Copy Markdown
Collaborator

This pull request has been marked as ready for review.

@staabm
staabm force-pushed the dbg branch 2 times, most recently from 9e5a7d4 to 053c1f1 Compare January 17, 2026 09:52
@ondrejmirtes

Copy link
Copy Markdown
Member

Thank you!

@ondrejmirtes
ondrejmirtes merged commit 7e6e901 into phpstan:2.1.x Jan 17, 2026
623 of 645 checks passed
@staabm
staabm deleted the dbg branch January 17, 2026 20:17
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