Page MenuHomePhabricator

Make libphutil `utils.php` PHP version violations statically analyzable
ClosedPublic

Authored by epriestley on Mon, Feb 11, 10:21 PM.

Details

Summary

Ref T13249. We actually already have a function_exists() check.

We don't have a constant() check, but the next change will add one.

Test Plan

Ran unit tests. No more lint warnings.

Diff Detail

Repository
rPHU libphutil
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.