Page MenuHomePhabricator

Add sniff to discourage new use Wikimedia\AtEase
Open, Needs TriagePublic

Description

This should probably have a custom sniff to spot use of AtEase and require use of phpcs:ignore instead.

I didn't think of this originally since it's our own creation, so for new contributors and new repos, I didn't foresee a scenario where someone would somehow already know about a now past in-house creation.

However, I can see it might be useful during the transition to have a rule to flag unintentional new uses of it, perhaps out of habit etc. Existing codebases with much use if can disable the new rule in phpcs as usual, since it's by no means an urgent migration by any means. But for new repos, and repos with little to no use, it'll help avoid introducing new ones.

Related Objects