mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-25 16:22:42 +01:00
Add mb_* functions to the external function list
Summary: The mbstring extension is common but not part of the PHP core, and we have a soft dependency on it but generally guard calls with function_exists(). Add the mbstring functions to the whitelist of known extension functions so lint doesn't raise errors about them if you don't have mbstring installed. Test Plan: @ffx, can you verify this fixes the lint issue for you? Probably faster than recompiling my PHP without mbstring. Reviewers: ffx, btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D2961
This commit is contained in:
parent
1b4205c1a1
commit
1ec2d1095b
2 changed files with 70 additions and 1 deletions
|
@ -37,7 +37,7 @@ final class PhutilLibraryMapBuilder {
|
||||||
const LIBRARY_MAP_VERSION = 2;
|
const LIBRARY_MAP_VERSION = 2;
|
||||||
|
|
||||||
const SYMBOL_CACHE_VERSION_KEY = '__symbol_cache_version__';
|
const SYMBOL_CACHE_VERSION_KEY = '__symbol_cache_version__';
|
||||||
const SYMBOL_CACHE_VERSION = 4;
|
const SYMBOL_CACHE_VERSION = 5;
|
||||||
|
|
||||||
|
|
||||||
/* -( Mapping libphutil Libraries )---------------------------------------- */
|
/* -( Mapping libphutil Libraries )---------------------------------------- */
|
||||||
|
|
|
@ -176,6 +176,75 @@ ldap_start_tls
|
||||||
ldap_set_rebind_proc
|
ldap_set_rebind_proc
|
||||||
ldap_control_paged_result
|
ldap_control_paged_result
|
||||||
ldap_control_paged_result_response
|
ldap_control_paged_result_response
|
||||||
|
mb_convert_case
|
||||||
|
mb_strtoupper
|
||||||
|
mb_strtolower
|
||||||
|
mb_language
|
||||||
|
mb_internal_encoding
|
||||||
|
mb_http_input
|
||||||
|
mb_http_output
|
||||||
|
mb_detect_order
|
||||||
|
mb_substitute_character
|
||||||
|
mb_parse_str
|
||||||
|
mb_output_handler
|
||||||
|
mb_preferred_mime_name
|
||||||
|
mb_strlen
|
||||||
|
mb_strpos
|
||||||
|
mb_strrpos
|
||||||
|
mb_stripos
|
||||||
|
mb_strripos
|
||||||
|
mb_strstr
|
||||||
|
mb_strrchr
|
||||||
|
mb_stristr
|
||||||
|
mb_strrichr
|
||||||
|
mb_substr_count
|
||||||
|
mb_substr
|
||||||
|
mb_strcut
|
||||||
|
mb_strwidth
|
||||||
|
mb_strimwidth
|
||||||
|
mb_convert_encoding
|
||||||
|
mb_detect_encoding
|
||||||
|
mb_list_encodings
|
||||||
|
mb_encoding_aliases
|
||||||
|
mb_convert_kana
|
||||||
|
mb_encode_mimeheader
|
||||||
|
mb_decode_mimeheader
|
||||||
|
mb_convert_variables
|
||||||
|
mb_encode_numericentity
|
||||||
|
mb_decode_numericentity
|
||||||
|
mb_send_mail
|
||||||
|
mb_get_info
|
||||||
|
mb_check_encoding
|
||||||
|
mb_regex_encoding
|
||||||
|
mb_regex_set_options
|
||||||
|
mb_ereg
|
||||||
|
mb_eregi
|
||||||
|
mb_ereg_replace
|
||||||
|
mb_eregi_replace
|
||||||
|
mb_ereg_replace_callback
|
||||||
|
mb_split
|
||||||
|
mb_ereg_match
|
||||||
|
mb_ereg_search
|
||||||
|
mb_ereg_search_pos
|
||||||
|
mb_ereg_search_regs
|
||||||
|
mb_ereg_search_init
|
||||||
|
mb_ereg_search_getregs
|
||||||
|
mb_ereg_search_getpos
|
||||||
|
mb_ereg_search_setpos
|
||||||
|
mbregex_encoding
|
||||||
|
mbereg
|
||||||
|
mberegi
|
||||||
|
mbereg_replace
|
||||||
|
mberegi_replace
|
||||||
|
mbsplit
|
||||||
|
mbereg_match
|
||||||
|
mbereg_search
|
||||||
|
mbereg_search_pos
|
||||||
|
mbereg_search_regs
|
||||||
|
mbereg_search_init
|
||||||
|
mbereg_search_getregs
|
||||||
|
mbereg_search_getpos
|
||||||
|
mbereg_search_setpos
|
||||||
pcntl_fork
|
pcntl_fork
|
||||||
pcntl_waitpid
|
pcntl_waitpid
|
||||||
pcntl_wait
|
pcntl_wait
|
||||||
|
|
Loading…
Reference in a new issue