Skip to content

Conversation

@arnaud-lb
Copy link
Member

Fixes GH-20914

Copy link
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

Change seems right. Since internal enums seem to have an entirely different code path, should we also test some other things:

  • Dynamic properties must be disallowed.
  • The interfaces should be implemented (UnitEnum / BackedEnum + any other interfaces listed in the stub file)

@arnaud-lb arnaud-lb changed the base branch from master to PHP-8.4 January 12, 2026 18:09
@arnaud-lb arnaud-lb marked this pull request as ready for review January 12, 2026 19:01
@arnaud-lb arnaud-lb requested a review from kocsismate as a code owner January 12, 2026 19:01
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.

Internal enums can be cloned and compared

2 participants