Permalink
Browse files

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
  • Loading branch information...
1 parent 47ed2ac commit 50c23e8ee4586f18bb7ddad6c0485a3bbab5936e @edwardspeyer edwardspeyer committed May 2, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 scripts/phutil_analyzer.php
@@ -39,6 +39,7 @@
'phutil_is_windows' => true,
'phutil_load_library' => true,
+ 'phutil_is_hiphop_runtime' => true,
// 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

0 comments on commit 50c23e8

Please sign in to comment.