Page MenuHomePhabricator

Fix ArcanistFormattedStringXHPASTLinterRule on older PHP after D21500
ClosedPublic

Authored by jrtc27 on Jan 11 2021, 4:39 AM.
Tags
None
Referenced Files
F15470293: D21505.id51180.diff
Fri, Apr 4, 9:32 PM
F15454513: D21505.id51180.diff
Sat, Mar 29, 6:55 PM
F15436825: D21505.id51180.diff
Tue, Mar 25, 4:37 PM
F15433846: D21505.id.diff
Tue, Mar 25, 12:49 AM
F15425123: D21505.id51180.diff
Sun, Mar 23, 2:34 AM
F15419334: D21505.id51179.diff
Fri, Mar 21, 5:23 AM
F15415696: D21505.id51180.diff
Thu, Mar 20, 7:30 AM
F15404528: D21505.id.diff
Tue, Mar 18, 8:06 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