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
F19103180: D20145.diff
Fri, Dec 5, 8:31 AM
F19032371: D20145.id.diff
Tue, Nov 25, 6:21 AM
F18826885: D20145.id.diff
Oct 24 2025, 6:15 AM
F18822536: D20145.diff
Oct 23 2025, 7:19 AM
F18812500: D20145.id48101.diff
Oct 20 2025, 9:53 AM
F18738507: D20145.diff
Oct 1 2025, 3:54 PM
F18738503: D20145.diff
Oct 1 2025, 3:53 PM
F18738501: D20145.diff
Oct 1 2025, 3:52 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
Branch
lint1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21930
Build 29947: Run Core Tests
Build 29946: arc lint + arc unit