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)
Tue, Nov 19, 12:50 PM
Unknown Object (File)
Thu, Nov 14, 10:55 PM
Unknown Object (File)
Thu, Nov 14, 8:01 PM
Unknown Object (File)
Mon, Nov 11, 1:41 PM
Unknown Object (File)
Wed, Nov 6, 4:53 PM
Unknown Object (File)
Tue, Oct 29, 6:58 AM
Unknown Object (File)
Thu, Oct 24, 10:45 AM
Unknown Object (File)
Oct 9 2024, 11:37 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