mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Help the analyzer find phutil_is_hiphop_runtime
Summary: rPHUf9ba25d188c1dcf39e4454b2c6bb058e0beeaa3e adds global function phutil_is_hiphop_runtime() to __phutil_library_init__.php. This diff helps lint files that call that function. Test Plan: Lint D2365. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2366
This commit is contained in:
parent
47ed2aca95
commit
50c23e8ee4
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ $builtin = array(
|
||||||
|
|
||||||
'phutil_is_windows' => true,
|
'phutil_is_windows' => true,
|
||||||
'phutil_load_library' => true,
|
'phutil_load_library' => true,
|
||||||
|
'phutil_is_hiphop_runtime' => true,
|
||||||
|
|
||||||
// HPHP/i defines these functions as 'internal', but they are NOT
|
// HPHP/i defines these functions as 'internal', but they are NOT
|
||||||
// builtins and do not exist in vanilla PHP. Make sure we don't mark them
|
// builtins and do not exist in vanilla PHP. Make sure we don't mark them
|
||||||
|
|
Loading…
Reference in a new issue