Skip to content

Enable checkBenevolentUnionTypes and remove invalid DOMExceptions#78

Merged
janedbal merged 1 commit intomasterfrom
enable-check-benevolent-union-types
Mar 25, 2026
Merged

Enable checkBenevolentUnionTypes and remove invalid DOMExceptions#78
janedbal merged 1 commit intomasterfrom
enable-check-benevolent-union-types

Conversation

@janedbal
Copy link
Copy Markdown
Member

Bump phpstan to 2.1.43 which now resolves the DOMDocument::createElement benevolent union issue, allowing checkBenevolentUnionTypes to be enabled. Remove now-unnecessary DOMException catches and @throws annotations.

Bump phpstan to 2.1.43 which resolves the DOMDocument::createElement
benevolent union issue, allowing checkBenevolentUnionTypes to be enabled.
Remove now-unnecessary DOMException catches and @throws annotations.

Co-Authored-By: Claude Code
@janedbal janedbal changed the title Enable checkBenevolentUnionTypes and invalid DomExceptions Enable checkBenevolentUnionTypes and remove invalid DOMExceptions Mar 25, 2026
@janedbal janedbal merged commit e02c1b8 into master Mar 25, 2026
31 checks passed
@janedbal janedbal deleted the enable-check-benevolent-union-types branch March 25, 2026 08:15
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.

1 participant