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)
Apr 2 2026, 10:47 PM
Unknown Object (File)
Apr 2 2026, 2:51 AM
Unknown Object (File)
Apr 2 2026, 2:51 AM
Unknown Object (File)
Mar 23 2026, 8:10 PM
Unknown Object (File)
Feb 24 2026, 2:07 PM
Unknown Object (File)
Feb 11 2026, 11:05 PM
Unknown Object (File)
Feb 9 2026, 9:27 PM
Unknown Object (File)
Dec 4 2025, 12:49 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable