Page MenuHomePhabricator

Fix ArcanistFormattedStringXHPASTLinterRule on older PHP after D21500
ClosedPublic

Authored by jrtc27 on Jan 11 2021, 4:39 AM.
Tags
None
Referenced Files
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)
Wed, Oct 23, 5:04 AM
Unknown Object (File)
Oct 22 2024, 6:28 PM
Unknown Object (File)
Oct 19 2024, 9:16 PM
Unknown Object (File)
Oct 19 2024, 9:07 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