You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Static analysis should work, but retrieving the value of an ENUM is not possible, because ENUMs only exist as instances.
The core invariant of BetterReflection, which is what should make it "better", is that it shouldn't load any code: instantiating an ENUM will cause autoloading, which will already break this core design constraint that is the foundation of the entire library.
I have a question related to this MR
Can you tell us why this should throw an exception?
File:
Should be supported since php 8.1.0 🤔
Because now, its throwing every time an exception.
File:
The comment from original issue could also work.
Thanks in advance
The text was updated successfully, but these errors were encountered: