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
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
F18658406: D20145.id.diff
Sep 23 2025, 6:17 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