Page MenuHomePhabricator

Raise a linter error when removed symbols are used
ClosedPublic

Authored by joshuaspence on Sep 22 2014, 2:23 PM.
Tags
None
Referenced Files
F21409756: D10538.id25318.diff
Wed, Jul 29, 11:23 AM
Unknown Object (File)
Fri, Jul 3, 8:19 AM
Unknown Object (File)
Apr 4 2026, 12:52 AM
Unknown Object (File)
Apr 3 2026, 6:00 AM
Unknown Object (File)
Apr 3 2026, 5:44 AM
Unknown Object (File)
Apr 3 2026, 5:41 AM
Unknown Object (File)
Apr 3 2026, 3:51 AM
Unknown Object (File)
Apr 3 2026, 3:32 AM
Subscribers

Details

Summary

Ref T5141. Utilize the 'max' key from the php_compat_info.json compatibility map to lint for the use of classes/functions/symbols which have been removed from the target PHP version.

Test Plan

Added a test case for arc unit.

Diff Detail

Repository
rARC Arcanist
Branch
xhpcompat
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2607
Build 2611: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Raise a linter error when removed symbols are used.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

FWIW, "removed symbols" is possibly not quite correct, but I couldn't think of a better wording

epriestley edited edge metadata.
This revision is now accepted and ready to land.Sep 24 2014, 9:02 PM
This revision was automatically updated to reflect the committed changes.