Skip to content

reflection: Remove _DO_THROW() macro#21399

Merged
TimWolla merged 1 commit intophp:masterfrom
TimWolla:reflection-do-throw
Mar 10, 2026
Merged

reflection: Remove _DO_THROW() macro#21399
TimWolla merged 1 commit intophp:masterfrom
TimWolla:reflection-do-throw

Conversation

@TimWolla
Copy link
Member

@TimWolla TimWolla commented Mar 9, 2026

This is an unnecessary layer of indirection that hides the exception type and does not exist elsewhere (in a similar way).

This is an unnecessary layer of indirection that hides the exception type and
does not exist elsewhere (in a similar way).
Copy link
Member

@DanielEScherzer DanielEScherzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I was planning to do this at some point, thanks for beating me too it

@TimWolla TimWolla merged commit f29bc08 into php:master Mar 10, 2026
19 checks passed
@TimWolla TimWolla deleted the reflection-do-throw branch March 10, 2026 07:04
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.

2 participants