Review 9.5 Merged

63329[FEATURE] Use SiteLanguageAwareInterface to check for trait existence

Oliver Hader CR +2 V +2 Normal +68 −6 updated 02/22/20, 15:03

Commit message

In AspectFactory::enrich(), the function would use class_uses() to
determine, if an aspect uses the trait SiteLanguageAwareTrait. This
however would only work on classes that use this trait, not on classes
that inherit the class with the trait (For example XClasses).
To fix this, a SiteLanguageAwareInterface was introduced, which is
checked against.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 7