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
F18819263: D10538.id26864.diff
Wed, Oct 22, 5:20 AM
F18783706: D10538.diff
Mon, Oct 13, 9:00 AM
F18712198: D10538.diff
Mon, Sep 29, 5:18 AM
F18701116: D10538.id.diff
Sat, Sep 27, 5:28 PM
F18687349: D10538.diff
Fri, Sep 26, 2:19 PM
F18623303: D10538.id.diff
Sep 15 2025, 3:13 PM
F18352957: D10538.id25318.diff
Aug 27 2025, 12:22 AM
F18087029: D10538.id25318.diff
Aug 6 2025, 1:57 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.