mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-01-02 19:01:02 +01:00
a0d4430271
Summary: XHPAST doesn't currently parse most PHP 5.4 stuff, but it does parse this. Warn about it. Test Plan: Unit tests, and: Error (XHP35) Use Of PHP 5.4 Features The f()[...] syntax was not introduced until PHP 5.4, but this codebase targets an earlier version of PHP. You can rewrite this expression using idx(). 365 public function lintPHP54Features($root) { 366 367 if (false) { >>> 368 id()[0]; ^ 369 } 370 Reviewers: alanh, vrana Reviewed By: alanh CC: aran Differential Revision: https://secure.phabricator.com/D3291 |
||
---|---|---|
.. | ||
configuration | ||
difference | ||
differential | ||
docs | ||
events/constant | ||
exception | ||
hgdaemon | ||
lint | ||
parser | ||
repository | ||
unit | ||
workflow | ||
workingcopyidentity | ||
__phutil_library_init__.php | ||
__phutil_library_map__.php |