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
F15442262: D21064.id50183.diff
Wed, Mar 26, 10:25 PM
F15408805: D21064.id50183.diff
Wed, Mar 19, 1:26 AM
F15385565: D21064.id.diff
Fri, Mar 14, 10:51 PM
Unknown Object (File)
Thu, Feb 27, 10:16 PM
Unknown Object (File)
Feb 21 2025, 11:41 PM
Unknown Object (File)
Feb 18 2025, 7:39 PM
Unknown Object (File)
Jan 27 2025, 11:02 AM
Unknown Object (File)
Jan 25 2025, 9:17 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable