Page MenuHomePhabricator

Remove duplication of XHPAST version in PHP and C code
ClosedPublic

Authored by epriestley on Apr 7 2020, 9:04 PM.
Tags
None
Referenced Files
F15481297: D21064.id50183.diff
Tue, Apr 8, 7:55 PM
F15480672: D21064.id50189.diff
Tue, Apr 8, 3:38 PM
F15478424: D21064.id.diff
Mon, Apr 7, 11:14 PM
F15474609: D21064.diff
Sun, Apr 6, 10:11 AM
F15471557: D21064.diff
Sat, Apr 5, 5:56 AM
F15461745: D21064.id50189.diff
Tue, Apr 1, 10:56 AM
F15442262: D21064.id50183.diff
Wed, Mar 26, 10:25 PM
F15408805: D21064.id50183.diff
Wed, Mar 19, 1:26 AM
Subscribers
None

Details

Summary

Depends on D21063. Ref T13492. Currently, XHPAST defines a version in both PHP code and C code, and they must be kept in sync.

Switch to a single definition in PHP, then carry it through the build pipeline into C.

Test Plan

Did a clean rebuild of XHPAST, saw a version number carried in from PHP. Ran "xhpast --version".

Diff Detail

Repository
rARC Arcanist
Branch
xhpast2
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24002
Build 33034: Run Core Tests
Build 33033: arc lint + arc unit