HomePhabricator

Raise a linter error when removed symbols are used

Description

Raise a linter error when removed symbols are used

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.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T5141

Differential Revision: https://secure.phabricator.com/D10538