1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 00:02:40 +01:00
phorge-arcanist/resources
Joshua Spence 36698b92af Add constants and class methods to php_compat_info.json.
Summary: Allows the `ArcanistXHPASTLinter` to determine whether constants can be used, based on the target PHP version. Also added class methods to the compatibility information, although this isn't used yet (it is small anyway).

Test Plan: Created a test file that contained the `JSON_PRETTY_PRINT` constant. Verified that a linter error was raised.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9571
2014-06-17 01:00:23 +10:00
..
arclint Add some example .arclint files to un-lie the pending documentation 2014-05-11 20:22:57 -07:00
shell Add support for zsh completion to bash-completion 2012-01-09 11:52:51 -08:00
test Various linter fixes 2014-02-25 07:53:07 -08:00
php_compat_info.json Add constants and class methods to php_compat_info.json. 2014-06-17 01:00:23 +10:00