Page MenuHomePhabricator

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

Authored by epriestley on Feb 11 2019, 10:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 27, 2:17 AM
Unknown Object (File)
Wed, Aug 26, 7:32 PM
Unknown Object (File)
Sat, Aug 15, 8:18 PM
Unknown Object (File)
Aug 11 2026, 6:32 PM
Unknown Object (File)
Jun 18 2026, 5:42 AM
Unknown Object (File)
Apr 11 2026, 9:14 PM
Unknown Object (File)
Apr 7 2026, 5:08 AM
Unknown Object (File)
Apr 4 2026, 9:04 AM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable