HomePhabricator

Add ignore list to PrefixedGlobalFunctionsSniff

Authored by polybuildr.

Description

Add ignore list to PrefixedGlobalFunctionsSniff

A lot of unprefixed global functions have creeped into the codebase and
it would be risky to try to prefix them now. In order to account for
previous "mistakes" but catch future issues, this patch creates an
ignoreList variable which can be set in a phpcs.xml.

Bug: T104501
Change-Id: I900befbb3559b3922b7dcde57c31210f4f630bdf