Page MenuHomePhabricator

Fix ArcanistFormattedStringXHPASTLinterRule on older PHP after D21500
ClosedPublic

Authored by jrtc27 on Jan 11 2021, 4:39 AM.
Tags
None
Referenced Files
F14078591: D21505.diff
Fri, Nov 22, 4:40 AM
Unknown Object (File)
Tue, Nov 19, 9:43 AM
Unknown Object (File)
Thu, Nov 14, 4:34 PM
Unknown Object (File)
Mon, Nov 11, 1:51 PM
Unknown Object (File)
Thu, Nov 7, 5:15 AM
Unknown Object (File)
Oct 23 2024, 5:04 AM
Unknown Object (File)
Oct 22 2024, 6:28 PM
Unknown Object (File)
Oct 19 2024, 9:16 PM
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