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
{{ message }}
Repository navigation
Commit dc78a9d
Browse filesBrowse the repository at this point in the historyBrowse files
Skip trait methods the using class overrides by the native method's declaring class
Whether a trait method is analysed in the using class depended on the
kind of the class's method reflection: NativeMethodReflection was
skipped, PhpMethodReflection was skipped unless it came from this trait,
and anything else was analysed. The engine-provided enum methods wrapped
in EnumCasesMethodReflection and BackedEnumFromMethodReflection fell
through, so a trait's cases(), from() and tryFrom() - which PHP ignores
in an enum - were analysed and OverridingMethodRule compared them with
UnitEnum::cases() and BackedEnum::from()/tryFrom().
The trait method is now skipped when the BetterReflection method of the
using class is declared by anything else than the trait.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ED2DmxgSuXYuvCKNuLKDJ
0 commit comments