]> khamidou — GitHub mirrors - arcanist.git/commit
Improve the handling of the `php_compat_info.json` file.
authorJoshua Spence <josh@joshuaspence.com>
Sun, 22 Jun 2014 15:56:44 +0000 (01:56 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 22 Jun 2014 15:56:44 +0000 (01:56 +1000)
commit990027e3e04c17a085897f2df46d9d6994c9cdc5
tree002de7746dc53286f1632a22fb2a956bf362b118
parentb9b9c138fe8b0c5cd7e40a3016a6d2c83010852a
Improve the handling of the `php_compat_info.json` file.

Summary: See inline comments on D9576. Also replace `json_decode` with `phutil_json_decode`, for better error handling.

Test Plan: Make sure `arc unit` still works.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9656
src/lint/linter/ArcanistXHPASTLinter.php