Page MenuHomePhabricator

Add a sniff to enforce typed properties
Open, Needs TriagePublic


Since MW now supports PHP >= 7.4, I think it'd be useful to have a sniff that enforces typehints on class properties. Perhaps surprisingly, I couldn't find such a sniff upstream, so we may have to write one.

Potentially, T288754 should be done first or at the same time.