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)
Fri, Dec 20, 5:07 PM
Unknown Object (File)
Tue, Dec 17, 4:02 AM
Unknown Object (File)
Fri, Dec 13, 2:15 PM
Unknown Object (File)
Thu, Dec 5, 1:02 PM
Unknown Object (File)
Sun, Dec 1, 12:38 PM
Unknown Object (File)
Sun, Dec 1, 12:38 PM
Unknown Object (File)
Sun, Dec 1, 12:17 PM
Unknown Object (File)
Wed, Nov 27, 3:03 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
Branch
php-8
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 24992
Build 34482: arc lint + arc unit