HomePhabricator

Simplify version parsing for `ArcanistPhpLinter`

Description

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

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jan 7 2015, 1:31 PM
Reviewer
Blessed Reviewers
Differential Revision
D11264: Simplify version parsing for `ArcanistPhpLinter`
Parents
rARCff3d3792ba19: Minor tidying of the `ArcanistXMLLinter` class
Branches
Unknown
Tags
Unknown