]> khamidou — GitHub mirrors - arcanist.git/commit
Warn about PHP 5.3 only functions and parameters
authorvrana <jakubv@fb.com>
Fri, 22 Jun 2012 20:47:18 +0000 (13:47 -0700)
committervrana <jakubv@fb.com>
Fri, 22 Jun 2012 22:52:10 +0000 (15:52 -0700)
commit67c772d9197bf308a2515fde3c1e953822ed489b
tree8304c5fff2b447a801edc25c0c7772db971ad0c7
parent1708a03f96cdaa60d202a3998ef1e6ed47aff50e
Warn about PHP 5.3 only functions and parameters

Test Plan:
Linted:

  json_decode('{}', true, 1, 1);
  gethostname();

Also linted all Phabricator repositories and found no occurrence.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Maniphest Tasks: T1158

Differential Revision: https://secure.phabricator.com/D2806
resources/php_compat_info.json [new file with mode: 0644]
scripts/update_compat_info.php [new file with mode: 0755]
src/lint/linter/ArcanistXHPASTLinter.php