Skip to content

Add support for enums#44

Merged
szepeviktor merged 2 commits intophp-stubs:masterfrom
IanDelMar:enums
Feb 7, 2026
Merged

Add support for enums#44
szepeviktor merged 2 commits intophp-stubs:masterfrom
IanDelMar:enums

Conversation

@IanDelMar
Copy link
Contributor

Enums are currently stripped from the generated stubs, which can lead to missing symbols. This PR introduces support for printing enums in the generated stubs. To avoid unintended changes for existing users, enum generation is opt-in: by default, enums remain ignored unless explicitly enabled.

@szepeviktor
Copy link
Member

Thank you.

@szepeviktor szepeviktor merged commit 95245da into php-stubs:master Feb 7, 2026
9 checks passed
@IanDelMar IanDelMar deleted the enums branch February 7, 2026 11:57
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.

2 participants