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)
Fri, Apr 12, 8:57 PM
Unknown Object (File)
Wed, Apr 3, 11:59 AM
Unknown Object (File)
Wed, Apr 3, 11:59 AM
Unknown Object (File)
Wed, Apr 3, 11:59 AM
Unknown Object (File)
Fri, Mar 29, 10:36 AM
Unknown Object (File)
Mon, Mar 25, 8:38 AM
Unknown Object (File)
Mar 19 2024, 7:08 AM
Unknown Object (File)
Feb 2 2024, 6:53 PM
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