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
F13097116: D21064.diff
Thu, Apr 25, 9:10 PM
Unknown Object (File)
Wed, Apr 10, 1:15 AM
Unknown Object (File)
Tue, Apr 9, 12:26 AM
Unknown Object (File)
Sun, Mar 31, 10:00 PM
Unknown Object (File)
Feb 17 2024, 2:27 PM
Unknown Object (File)
Jan 21 2024, 4:46 PM
Unknown Object (File)
Jan 18 2024, 9:00 PM
Unknown Object (File)
Jan 7 2024, 4:56 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