1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

sync param names with php (#4745)

* sync param names with php

* fiw prefixes
This commit is contained in:
orklah 2020-12-01 18:05:58 +01:00 committed by Daniil Gentili
parent 7206db2cb6
commit 0814f5d6ee
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 1608 additions and 1608 deletions

File diff suppressed because it is too large Load Diff

View File

@ -16,36 +16,36 @@
return [
'new' => [
'Closure::fromCallable' => ['Closure', 'callable'=>'callable'],
'SQLite3::createFunction' => ['bool', 'name'=>'string', 'callback'=>'callable', 'argument_count='=>'int', 'flags='=>'int'],
'curl_multi_errno' => ['int', 'mh'=>'resource'],
'curl_share_errno' => ['int', 'sh'=>'resource'],
'curl_share_strerror' => ['string', 'code'=>'int'],
'get_headers' => ['array|false', 'url'=>'string', 'format='=>'int', 'context='=>'resource'],
'SQLite3::createFunction' => ['bool', 'name'=>'string', 'callback'=>'callable', 'argCount='=>'int', 'flags='=>'int'],
'curl_multi_errno' => ['int', 'multi_handle'=>'resource'],
'curl_share_errno' => ['int', 'share_handle'=>'resource'],
'curl_share_strerror' => ['string', 'error_code'=>'int'],
'get_headers' => ['array|false', 'url'=>'string', 'associative='=>'int', 'context='=>'resource'],
'getenv\'1' => ['array<string,string>'],
'getopt' => ['array<string,string>|array<string,false>|array<string,array<int,string|false>>', 'options'=>'string', 'longopts='=>'array', '&w_optind='=>'int'],
'hash_hkdf' => ['string', 'algo'=>'string', 'ikm'=>'string', 'length='=>'int', 'info='=>'string', 'salt='=>'string'],
'is_iterable' => ['bool', 'var'=>'mixed'],
'getopt' => ['array<string,string>|array<string,false>|array<string,array<int,string|false>>', 'short_options'=>'string', 'long_options='=>'array', '&w_rest_index='=>'int'],
'hash_hkdf' => ['string', 'algo'=>'string', 'key'=>'string', 'length='=>'int', 'info='=>'string', 'salt='=>'string'],
'is_iterable' => ['bool', 'value'=>'mixed'],
'openssl_get_curve_names' => ['array<int,string>'],
'pcntl_async_signals' => ['bool', 'on='=>'bool'],
'pcntl_signal_get_handler' => ['int|string', 'signo'=>'int'],
'pg_fetch_all' => ['array', 'result'=>'resource', 'result_type='=>'int'],
'pcntl_async_signals' => ['bool', 'enable='=>'bool'],
'pcntl_signal_get_handler' => ['int|string', 'signal'=>'int'],
'pg_fetch_all' => ['array', 'result'=>'resource', 'mode='=>'int'],
'pg_last_error' => ['string', 'connection='=>'resource', 'operation='=>'int'],
'pg_select' => ['mixed', 'db'=>'resource', 'table'=>'string', 'ids'=>'array', 'options='=>'int', 'result_type='=>'int'],
'pg_select' => ['mixed', 'connection'=>'resource', 'table_name'=>'string', 'conditions'=>'array', 'flags='=>'int', 'mode='=>'int'],
'sapi_windows_cp_conv' => ['string', 'in_codepage'=>'int|string', 'out_codepage'=>'int|string', 'subject'=>'string'],
'sapi_windows_cp_get' => ['int'],
'sapi_windows_cp_is_utf8' => ['bool'],
'sapi_windows_cp_set' => ['bool', 'code_page'=>'int'],
'sapi_windows_cp_set' => ['bool', 'codepage'=>'int'],
'session_create_id' => ['string', 'prefix='=>'string'],
'session_gc' => ['int'],
'unpack' => ['array', 'format'=>'string', 'data'=>'string', 'offset='=>'int'],
'unpack' => ['array', 'format'=>'string', 'string'=>'string', 'offset='=>'int'],
],
'old' => [
'SQLite3::createFunction' => ['bool', 'name'=>'string', 'callback'=>'callable', 'argument_count='=>'int'],
'get_headers' => ['array|false', 'url'=>'string', 'format='=>'int'],
'getopt' => ['array<string,string>|array<string,false>|array<string,array<int,string|false>>', 'options'=>'string', 'longopts='=>'array'],
'SQLite3::createFunction' => ['bool', 'name'=>'string', 'callback'=>'callable', 'argCount='=>'int'],
'get_headers' => ['array|false', 'url'=>'string', 'associative='=>'int'],
'getopt' => ['array<string,string>|array<string,false>|array<string,array<int,string|false>>', 'short_options'=>'string', 'long_options='=>'array'],
'pg_fetch_all' => ['array', 'result'=>'resource'],
'pg_last_error' => ['string', 'connection='=>'resource'],
'pg_select' => ['mixed', 'db'=>'resource', 'table'=>'string', 'ids'=>'array', 'options='=>'int'],
'unpack' => ['array', 'format'=>'string', 'data'=>'string'],
'pg_select' => ['mixed', 'connection'=>'resource', 'table_name'=>'string', 'conditions'=>'array', 'flags='=>'int'],
'unpack' => ['array', 'format'=>'string', 'string'=>'string'],
],
];