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
Unknown Object (File)
Sun, May 11, 8:42 PM
Unknown Object (File)
Thu, May 8, 11:49 PM
Unknown Object (File)
Thu, May 8, 11:54 AM
Unknown Object (File)
Wed, May 7, 11:11 AM
Unknown Object (File)
Mon, May 5, 6:20 PM
Unknown Object (File)
Apr 21 2025, 6:43 AM
Unknown Object (File)
Apr 8 2025, 7:55 PM
Unknown Object (File)
Apr 8 2025, 3:38 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