Page MenuHomePhabricator

Simplify version parsing for `ArcanistPhpLinter`
ClosedPublic

Authored by joshuaspence on Jan 7 2015, 8:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 11:49 PM
Unknown Object (File)
Thu, Dec 19, 12:37 AM
Unknown Object (File)
Thu, Dec 12, 9:25 PM
Unknown Object (File)
Wed, Dec 11, 10:15 AM
Unknown Object (File)
Sat, Dec 7, 3:28 PM
Unknown Object (File)
Fri, Dec 6, 9:43 AM
Unknown Object (File)
Wed, Dec 4, 9:59 AM
Unknown Object (File)
Tue, Dec 3, 4:15 PM
Subscribers

Details

Summary

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

Test Plan

arc unit

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Simplify version parsing for `ArcanistPhpLinter`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.

Remove whitespace

epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 7 2015, 12:53 PM
This revision was automatically updated to reflect the committed changes.