]> khamidou — GitHub mirrors - arcanist.git/commit
Simplify version parsing for `ArcanistPhpLinter`
authorJoshua Spence <josh@joshuaspence.com>
Wed, 7 Jan 2015 12:55:34 +0000 (23:55 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Wed, 7 Jan 2015 12:55:34 +0000 (23:55 +1100)
commit2ad2c04774e2ea28aacbfd81a0323362471b30bf
tree7dd8a6df4c5f58a46f2bca78b5e47eba3c2aadea
parentff3d3792ba19f3ece16b2da4daf04eb6d61e8e35
Simplify version parsing for `ArcanistPhpLinter`

Summary: We can use `php --run "echo phpversion();"` to return a nice, compact representation of the PHP version.

Test Plan: `arc unit`

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11264
src/lint/linter/ArcanistPhpLinter.php