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
ReflectionClass::getTraitAliases() returns the trait use adaptation map (alias => original) for classes that rename trait methods. The VM ReflectionClass object does not expose this method — calls fail at method_exists / fatal on invoke.
Inheritance predicates (isSubclassOf, getTraits, …) are tracked in #6302. This issue is the trait alias introspection API only.
Activity
PurHur commentedon Jun 11, 2026
claim: worker-lane-B — starting this run
Fix ReflectionClass::getTraitAliases() for trait use adaptations (#6661…
PurHur commentedon Jun 11, 2026
Merged via #7954
Verification (VM):
method_exists($rc, 'getTraitAliases')→ truegetTraitAliases()→array('g' => 'T::f')foruse T { f as g; }