Page MenuHomePhabricator

Fix ArcanistFormattedStringXHPASTLinterRule on older PHP after D21500
ClosedPublic

Authored by jrtc27 on Jan 11 2021, 4:39 AM.
Tags
None
Referenced Files
F19095790: D21505.diff
Dec 4 2025, 6:09 AM
F18904753: D21505.id.diff
Nov 8 2025, 10:56 AM
F18807227: D21505.id51179.diff
Oct 18 2025, 11:56 PM
F18658433: D21505.id.diff
Sep 23 2025, 6:25 AM
F18656433: D21505.id51180.diff
Sep 22 2025, 10:28 PM
F18630429: D21505.diff
Sep 16 2025, 11:39 AM
F18630380: D21505.diff
Sep 16 2025, 11:32 AM
F18591677: D21505.id51180.diff
Sep 12 2025, 9:52 AM
Subscribers

Details

Summary

Calling 'Foo::bar' is only supported since PHP 7, whereas the array form
is supported since PHP 5.4, which is below our PHP 5.5 baseline.

Test Plan

No regressions under PHP 8 and snippet tested on 3v4l

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable