1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix #117 - update filesystem callmap functions

This commit is contained in:
Matt Brown 2017-03-16 17:34:40 -04:00
parent 30e8e1880d
commit 8c9cba5e75

View File

@ -1359,7 +1359,7 @@ return [
'Directory::rewind' => ['void', 'dir_handle='=>'resource'],
'dirname' => ['string', 'path'=>'string'],
'dir' => ['object', 'directory='=>'string', 'context='=>''],
'disk_free_space' => ['float', 'path'=>'string'],
'disk_free_space' => ['float|false', 'path'=>'string'],
'disk_total_space' => ['float', 'path'=>'string'],
'display_disabled_function' => [''],
'dl' => ['int', 'extension_filename'=>'string'],
@ -2242,7 +2242,7 @@ return [
'flush' => [''],
'fmod' => ['float', 'x'=>'float', 'y'=>'float'],
'fnmatch' => ['bool', 'pattern'=>'string', 'filename'=>'string', 'flags='=>'int'],
'fopen' => ['resource', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>''],
'fopen' => ['resource|false', 'filename'=>'string', 'mode'=>'string', 'use_include_path='=>'bool', 'context='=>''],
'forward_static_call_array' => ['', 'function'=>'callable', 'parameters'=>'array'],
'forward_static_call' => ['', 'function'=>'callable', 'parameter='=>'', '...='=>''],
'fpassthru' => ['int', 'fp'=>''],
@ -8994,7 +8994,7 @@ return [
'stream_context_set_option\'1' => ['bool', 'context'=>'', 'options'=>'array'],
'stream_context_set_option' => ['bool', 'context'=>'', 'wrappername'=>'string', 'optionname'=>'string', 'value'=>''],
'stream_context_set_params' => ['bool', 'context'=>'', 'options'=>'array'],
'stream_copy_to_stream' => ['int', 'source'=>'', 'dest'=>'', 'maxlen='=>'int', 'pos='=>'int'],
'stream_copy_to_stream' => ['int|false', 'source'=>'', 'dest'=>'', 'maxlen='=>'int', 'pos='=>'int'],
'stream_encoding' => ['bool', 'stream'=>'', 'encoding='=>'string'],
'stream_filter_append' => ['resource', 'stream'=>'', 'filtername'=>'string', 'read_write='=>'int', 'filterparams='=>'string'],
'stream_filter_prepend' => ['resource', 'stream'=>'', 'filtername'=>'string', 'read_write='=>'int', 'filterparams='=>'string'],