mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
parent
57bf0fda0d
commit
74f3908555
@ -1767,7 +1767,7 @@ return [
|
||||
'DateTime::__wakeup' => ['void'],
|
||||
'DateTime::add' => ['static', 'interval'=>'DateInterval'],
|
||||
'DateTime::createFromFormat' => ['static|false', 'format'=>'string', 'time'=>'string', 'timezone='=>'?DateTimeZone'],
|
||||
'DateTime::createFromImmutable' => ['static', 'datetTimeImmutable' => 'DateTimeImmutable'],
|
||||
'DateTime::createFromImmutable' => ['static', 'datetTimeImmutable'=>'DateTimeImmutable'],
|
||||
'DateTime::diff' => ['DateInterval|false', 'datetime2'=>'DateTimeInterface', 'absolute='=>'bool'],
|
||||
'DateTime::format' => ['string|false', 'format'=>'string'],
|
||||
'DateTime::getLastErrors' => ['array'],
|
||||
@ -3302,8 +3302,8 @@ return [
|
||||
'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>'resource'],
|
||||
'forward_static_call' => ['mixed|false', 'function'=>'callable', '...parameters='=>'mixed'],
|
||||
'forward_static_call_array' => ['mixed|false', 'function'=>'callable', 'parameters'=>'array<int,mixed>'],
|
||||
'fpm_get_status' => ['array'],
|
||||
'fpassthru' => ['int|false', 'fp'=>'resource'],
|
||||
'fpm_get_status' => ['array|false'],
|
||||
'fprintf' => ['int', 'stream'=>'resource', 'format'=>'string', '...args='=>'string|int|float'],
|
||||
'fputcsv' => ['int|false', 'fp'=>'resource', 'fields'=>'array', 'delimiter='=>'string', 'enclosure='=>'string', 'escape_char='=>'string'],
|
||||
'fputs' => ['int|false', 'fp'=>'resource', 'str'=>'string', 'length='=>'int'],
|
||||
@ -3885,7 +3885,7 @@ return [
|
||||
'gmp_abs' => ['GMP', 'a'=>'GMP|string|int'],
|
||||
'gmp_add' => ['GMP', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_and' => ['GMP', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_binomial' => ['GMP', 'n'=>'GMP|string|int', 'k'=>'GMP|string|int'],
|
||||
'gmp_binomial' => ['GMP|false', 'n'=>'GMP|string|int', 'k'=>'int'],
|
||||
'gmp_clrbit' => ['void', 'a'=>'GMP|string|int', 'index'=>'int'],
|
||||
'gmp_cmp' => ['int', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_com' => ['GMP', 'a'=>'GMP|string|int'],
|
||||
@ -3904,7 +3904,7 @@ return [
|
||||
'gmp_intval' => ['int', 'gmpnumber'=>'GMP|string|int'],
|
||||
'gmp_invert' => ['GMP|false', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_jacobi' => ['int', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_kronecker' => ['GMP', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_kronecker' => ['int', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_lcm' => ['GMP', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_legendre' => ['int', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_mod' => ['GMP', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
@ -3912,7 +3912,7 @@ return [
|
||||
'gmp_neg' => ['GMP', 'a'=>'GMP|string|int'],
|
||||
'gmp_nextprime' => ['GMP', 'a'=>'GMP|string|int'],
|
||||
'gmp_or' => ['GMP', 'a'=>'GMP|string|int', 'b'=>'GMP|string|int'],
|
||||
'gmp_perfect_power' => ['GMP', 'a'=>'GMP|string|int'],
|
||||
'gmp_perfect_power' => ['bool', 'a'=>'GMP|string|int'],
|
||||
'gmp_perfect_square' => ['bool', 'a'=>'GMP|string|int'],
|
||||
'gmp_popcount' => ['int', 'a'=>'GMP|string|int'],
|
||||
'gmp_pow' => ['GMP', 'base'=>'GMP|string|int', 'exp'=>'int'],
|
||||
@ -6642,10 +6642,10 @@ return [
|
||||
'lchgrp' => ['bool', 'filename'=>'string', 'group'=>'string|int'],
|
||||
'lchown' => ['bool', 'filename'=>'string', 'user'=>'string|int'],
|
||||
'ldap_8859_to_t61' => ['string', 'value'=>'string'],
|
||||
'ldap_add' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array'],
|
||||
'ldap_add_ext' => ['resource', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_bind' => ['bool', 'link_identifier'=>'resource', 'dn='=>'?string', 'password='=>'?string'],
|
||||
'ldap_bind_ext' => ['resource', 'link_identifier'=>'resource', 'bind_rdn='=>'string', 'bind_password='=>'string'],
|
||||
'ldap_add' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_add_ext' => ['resource|false', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_bind' => ['bool', 'link_identifier'=>'resource', 'dn='=>'string', 'password='=>'?string'],
|
||||
'ldap_bind_ext' => ['resource|false', 'link_identifier'=>'resource', 'bind_rdn='=>'string', 'bind_password='=>'string'],
|
||||
'ldap_close' => ['bool', 'link_identifier'=>'resource'],
|
||||
'ldap_compare' => ['bool|int', 'link_identifier'=>'resource', 'dn'=>'string', 'attr'=>'string', 'value'=>'string'],
|
||||
'ldap_connect' => ['resource|false', 'host='=>'string', 'port='=>'int', 'wallet='=>'string', 'wallet_passwd='=>'string', 'authmode='=>'int'],
|
||||
@ -6653,15 +6653,15 @@ return [
|
||||
'ldap_control_paged_result_response' => ['bool', 'link_identifier'=>'resource', 'result_identifier'=>'resource', '&w_cookie'=>'string', '&w_estimated'=>'int'],
|
||||
'ldap_count_entries' => ['int|false', 'link_identifier'=>'resource', 'result'=>'resource'],
|
||||
'ldap_delete' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string'],
|
||||
'ldap_delete_ext' => ['resource', 'link_identifier'=>'resource', 'dn'=>'string', 'serverctrls='=>'array'],
|
||||
'ldap_delete_ext' => ['resource|false', 'link_identifier'=>'resource', 'dn'=>'string', 'serverctrls='=>'array'],
|
||||
'ldap_dn2ufn' => ['string', 'dn'=>'string'],
|
||||
'ldap_err2str' => ['string', 'errno'=>'int'],
|
||||
'ldap_errno' => ['int', 'link_identifier'=>'resource'],
|
||||
'ldap_error' => ['string', 'link_identifier'=>'resource'],
|
||||
'ldap_escape' => ['string', 'value'=>'string', 'ignore='=>'string', 'flags='=>'int'],
|
||||
'ldap_exop' => ['mixed', 'link'=>'resource', 'reqoid'=>'string', 'reqdata='=>'string', 'servercontrols='=>'array', 'retdata='=>'string', 'retoid='=>'string'],
|
||||
'ldap_exop' => ['mixed', 'link'=>'resource', 'reqoid'=>'string', 'reqdata='=>'string', 'serverctrls='=>'array', 'retdata='=>'string', 'retoid='=>'string'],
|
||||
'ldap_exop_passwd' => ['mixed', 'link'=>'resource', 'user='=>'string', 'oldpw='=>'string', 'newpw='=>'string', 'serverctrls='=>'array'],
|
||||
'ldap_exop_refresh' => ['int', 'link'=>'resource', 'dn'=>'string', 'ttl'=>'int'],
|
||||
'ldap_exop_refresh' => ['int|false', 'link'=>'resource', 'dn'=>'string', 'ttl'=>'int'],
|
||||
'ldap_exop_whoami' => ['string|false', 'link'=>'resource'],
|
||||
'ldap_explode_dn' => ['array|false', 'dn'=>'string', 'with_attrib'=>'int'],
|
||||
'ldap_first_attribute' => ['string|false', 'link_identifier'=>'resource', 'result_entry_identifier'=>'resource'],
|
||||
@ -6676,11 +6676,11 @@ return [
|
||||
'ldap_get_values_len' => ['array|false', 'link_identifier'=>'resource', 'result_entry_identifier'=>'resource', 'attribute'=>'string'],
|
||||
'ldap_list' => ['resource|false', 'link'=>'resource|array', 'base_dn'=>'string', 'filter'=>'string', 'attrs='=>'array', 'attrsonly='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int'],
|
||||
'ldap_mod_add' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array'],
|
||||
'ldap_mod_add_ext' => ['resource', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_mod_add_ext' => ['resource|false', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_mod_del' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array'],
|
||||
'ldap_mod_del_ext' => ['resource', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_mod_del_ext' => ['resource|false', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_mod_replace' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array'],
|
||||
'ldap_mod_replace_ext' => ['resource', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_mod_replace_ext' => ['resource|false', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array', 'serverctrls='=>'array'],
|
||||
'ldap_modify' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'entry'=>'array'],
|
||||
'ldap_modify_batch' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'modifs'=>'array'],
|
||||
'ldap_next_attribute' => ['string|false', 'link_identifier'=>'resource', 'result_entry_identifier'=>'resource'],
|
||||
@ -6691,7 +6691,7 @@ return [
|
||||
'ldap_parse_result' => ['bool', 'link_identifier'=>'resource', 'result'=>'resource', 'errcode'=>'int', 'matcheddn='=>'string', 'errmsg='=>'string', 'referrals='=>'array'],
|
||||
'ldap_read' => ['resource|false', 'link'=>'resource|array', 'base_dn'=>'string', 'filter'=>'string', 'attrs='=>'array', 'attrsonly='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int'],
|
||||
'ldap_rename' => ['bool', 'link_identifier'=>'resource', 'dn'=>'string', 'newrdn'=>'string', 'newparent'=>'string', 'deleteoldrdn'=>'bool'],
|
||||
'ldap_rename_ext' => ['resource', 'link_identifier'=>'resource', 'dn'=>'string', 'newrdn'=>'string', 'newparent'=>'string', 'deleteoldrdn'=>'bool', 'serverctrls='=>'array'],
|
||||
'ldap_rename_ext' => ['resource|false', 'link_identifier'=>'resource', 'dn'=>'string', 'newrdn'=>'string', 'newparent'=>'string', 'deleteoldrdn'=>'bool', 'serverctrls='=>'array'],
|
||||
'ldap_sasl_bind' => ['bool', 'link_identifier'=>'resource', 'binddn='=>'string', 'password='=>'string', 'sasl_mech='=>'string', 'sasl_realm='=>'string', 'sasl_authc_id='=>'string', 'sasl_authz_id='=>'string', 'props='=>'string'],
|
||||
'ldap_search' => ['resource|false', 'link_identifier'=>'resource|resource[]', 'base_dn'=>'string', 'filter'=>'string', 'attrs='=>'array', 'attrsonly='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int'],
|
||||
'ldap_set_option' => ['bool', 'link_identifier'=>'resource', 'option'=>'int', 'newval'=>'mixed'],
|
||||
@ -8845,8 +8845,10 @@ return [
|
||||
'NoRewindIterator::next' => ['void'],
|
||||
'NoRewindIterator::rewind' => ['void'],
|
||||
'NoRewindIterator::valid' => ['bool'],
|
||||
'Normalizer::getRawDecomposition' => ['string|null', 'input'=>'string'],
|
||||
'Normalizer::isNormalized' => ['bool', 'input'=>'string', 'form='=>'int'],
|
||||
'Normalizer::normalize' => ['string', 'input'=>'string', 'form='=>'int'],
|
||||
'normalizer_get_raw_decomposition' => ['string|null', 'input'=>'string'],
|
||||
'normalizer_is_normalized' => ['bool', 'input'=>'string', 'form='=>'int'],
|
||||
'normalizer_normalize' => ['string', 'input'=>'string', 'form='=>'int'],
|
||||
'notes_body' => ['array', 'server'=>'string', 'mailbox'=>'string', 'msg_number'=>'int'],
|
||||
@ -11975,7 +11977,7 @@ return [
|
||||
'socket_shutdown' => ['bool', 'socket'=>'resource', 'how='=>'int'],
|
||||
'socket_strerror' => ['string', 'errno'=>'int'],
|
||||
'socket_write' => ['int|false', 'socket'=>'resource', 'buf'=>'string', 'length='=>'int'],
|
||||
'socket_wsaprotocol_info_export' => ['string|false', 'sock='=>'resource', 'pid'=>'int'],
|
||||
'socket_wsaprotocol_info_export' => ['string|false', 'stream'=>'resource', 'target_pid'=>'int'],
|
||||
'socket_wsaprotocol_info_import' => ['resource|false', 'id'=>'string'],
|
||||
'socket_wsaprotocol_info_release' => ['bool', 'id'=>'string'],
|
||||
'Sodium\add' => ['void', '&left'=>'string', 'right'=>'string'],
|
||||
@ -13181,6 +13183,7 @@ return [
|
||||
'Spoofchecker::isSuspicious' => ['bool', 'text'=>'string', '&w_error='=>'string'],
|
||||
'Spoofchecker::setAllowedLocales' => ['void', 'locale_list'=>'string'],
|
||||
'Spoofchecker::setChecks' => ['void', 'checks'=>'long'],
|
||||
'Spoofchecker::setRestrictionLevel' => ['void', 'restriction_level'=>'int'],
|
||||
'sprintf' => ['string', 'format'=>'string', '...vars='=>'string|int|float'],
|
||||
'SQLite3::__construct' => ['void', 'filename'=>'string', 'flags='=>'int', 'encryption_key='=>'?string'],
|
||||
'SQLite3::busyTimeout' => ['bool', 'msecs'=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user