@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

Use the PHPAST linter in Phorge

Summary:
Add the PHPAST linter in Phorge, to support newer PHP syntax.

Requires that D26516 be applied to rARC locally.

Test Plan:
* Run `arc patch D26516` on `arcanist/`
* Run `arc lint --everything --never-apply-patches --severity disabled --output summary`

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T16309

Differential Revision: https://we.phorge.it/D26517

+5
+5
.arclint
··· 56 56 "nolint": { 57 57 "type": "nolint" 58 58 }, 59 + "phpast": { 60 + "type": "phpast", 61 + "include": "(\\.php$)", 62 + "standard": "phutil.phpast" 63 + }, 59 64 "phutil-library": { 60 65 "type": "phutil-library", 61 66 "include": "(\\.php$)"