From 879d9cd7885e47d26a97ec6e8f4807e9d9d01c5b Mon Sep 17 00:00:00 2001 From: Corey Taylor Date: Mon, 27 Feb 2023 06:24:12 -0600 Subject: [PATCH] Fix remaining spl and iterator callmaps --- dictionaries/CallMap.php | 258 +++++++++--------- dictionaries/CallMap_80_delta.php | 72 ++++- dictionaries/CallMap_historical.php | 258 +++++++++--------- .../Codebase/InternalCallMapHandlerTest.php | 114 +------- 4 files changed, 319 insertions(+), 383 deletions(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index f4daefbcd..026c170c7 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -433,50 +433,50 @@ return [ 'ArrayAccess::offsetUnset' => ['void', 'offset'=>'mixed'], 'ArrayIterator::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int'], 'ArrayIterator::append' => ['void', 'value'=>'mixed'], -'ArrayIterator::asort' => ['void'], +'ArrayIterator::asort' => ['true', 'flags='=>'int'], 'ArrayIterator::count' => ['int'], 'ArrayIterator::current' => ['mixed'], 'ArrayIterator::getArrayCopy' => ['array'], 'ArrayIterator::getFlags' => ['int'], 'ArrayIterator::key' => ['int|string|null'], -'ArrayIterator::ksort' => ['void'], +'ArrayIterator::ksort' => ['true', 'flags='=>'int'], 'ArrayIterator::natcasesort' => ['true'], 'ArrayIterator::natsort' => ['true'], 'ArrayIterator::next' => ['void'], -'ArrayIterator::offsetExists' => ['bool', 'index'=>'string|int'], -'ArrayIterator::offsetGet' => ['mixed', 'index'=>'string|int'], -'ArrayIterator::offsetSet' => ['void', 'index'=>'string|int', 'newval'=>'mixed'], -'ArrayIterator::offsetUnset' => ['void', 'index'=>'string|int'], +'ArrayIterator::offsetExists' => ['bool', 'key'=>'string|int'], +'ArrayIterator::offsetGet' => ['mixed', 'key'=>'string|int'], +'ArrayIterator::offsetSet' => ['void', 'key'=>'string|int', 'value'=>'mixed'], +'ArrayIterator::offsetUnset' => ['void', 'key'=>'string|int'], 'ArrayIterator::rewind' => ['void'], -'ArrayIterator::seek' => ['void', 'position'=>'int'], +'ArrayIterator::seek' => ['void', 'offset'=>'int'], 'ArrayIterator::serialize' => ['string'], -'ArrayIterator::setFlags' => ['void', 'flags'=>'string'], -'ArrayIterator::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], -'ArrayIterator::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], -'ArrayIterator::unserialize' => ['void', 'serialized'=>'string'], +'ArrayIterator::setFlags' => ['void', 'flags'=>'int'], +'ArrayIterator::uasort' => ['true', 'callback'=>'callable(mixed,mixed):int'], +'ArrayIterator::uksort' => ['true', 'callback'=>'callable(mixed,mixed):int'], +'ArrayIterator::unserialize' => ['void', 'data'=>'string'], 'ArrayIterator::valid' => ['bool'], -'ArrayObject::__construct' => ['void', 'input='=>'array|object', 'flags='=>'int', 'iterator_class='=>'string'], +'ArrayObject::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int', 'iteratorClass='=>'class-string'], 'ArrayObject::append' => ['void', 'value'=>'mixed'], -'ArrayObject::asort' => ['void'], +'ArrayObject::asort' => ['true', 'flags='=>'int'], 'ArrayObject::count' => ['int'], -'ArrayObject::exchangeArray' => ['array', 'ar'=>'mixed'], +'ArrayObject::exchangeArray' => ['array', 'array'=>'array|object'], 'ArrayObject::getArrayCopy' => ['array'], 'ArrayObject::getFlags' => ['int'], 'ArrayObject::getIterator' => ['ArrayIterator'], 'ArrayObject::getIteratorClass' => ['string'], -'ArrayObject::ksort' => ['void'], +'ArrayObject::ksort' => ['true', 'flags='=>'int'], 'ArrayObject::natcasesort' => ['true'], 'ArrayObject::natsort' => ['true'], -'ArrayObject::offsetExists' => ['bool', 'index'=>'int|string'], -'ArrayObject::offsetGet' => ['mixed|null', 'index'=>'int|string'], -'ArrayObject::offsetSet' => ['void', 'index'=>'int|string', 'newval'=>'mixed'], -'ArrayObject::offsetUnset' => ['void', 'index'=>'int|string'], +'ArrayObject::offsetExists' => ['bool', 'key'=>'int|string'], +'ArrayObject::offsetGet' => ['mixed|null', 'key'=>'int|string'], +'ArrayObject::offsetSet' => ['void', 'key'=>'int|string', 'value'=>'mixed'], +'ArrayObject::offsetUnset' => ['void', 'key'=>'int|string'], 'ArrayObject::serialize' => ['string'], 'ArrayObject::setFlags' => ['void', 'flags'=>'int'], -'ArrayObject::setIteratorClass' => ['void', 'iterator_class'=>'string'], -'ArrayObject::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], -'ArrayObject::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], -'ArrayObject::unserialize' => ['void', 'serialized'=>'string'], +'ArrayObject::setIteratorClass' => ['void', 'iteratorClass'=>'class-string'], +'ArrayObject::uasort' => ['true', 'callback'=>'callable(mixed,mixed):int'], +'ArrayObject::uksort' => ['true', 'callback'=>'callable(mixed,mixed):int'], +'ArrayObject::unserialize' => ['void', 'data'=>'string'], 'arsort' => ['true', '&rw_array'=>'array', 'flags='=>'int'], 'asin' => ['float', 'num'=>'float'], 'asinh' => ['float', 'num'=>'float'], @@ -587,10 +587,10 @@ return [ 'CachingIterator::hasNext' => ['bool'], 'CachingIterator::key' => ['int|string|float|bool'], 'CachingIterator::next' => ['void'], -'CachingIterator::offsetExists' => ['bool', 'index'=>'string'], -'CachingIterator::offsetGet' => ['mixed', 'index'=>'string'], -'CachingIterator::offsetSet' => ['void', 'index'=>'string', 'newval'=>'mixed'], -'CachingIterator::offsetUnset' => ['void', 'index'=>'string'], +'CachingIterator::offsetExists' => ['bool', 'key'=>'string'], +'CachingIterator::offsetGet' => ['mixed', 'key'=>'string'], +'CachingIterator::offsetSet' => ['void', 'key'=>'string', 'value'=>'mixed'], +'CachingIterator::offsetUnset' => ['void', 'key'=>'string'], 'CachingIterator::rewind' => ['void'], 'CachingIterator::setFlags' => ['void', 'flags'=>'int'], 'CachingIterator::valid' => ['bool'], @@ -604,7 +604,7 @@ return [ 'call_user_func_array' => ['mixed|false', 'callback'=>'callable', 'args'=>'list'], 'call_user_method' => ['mixed', 'method_name'=>'string', 'object'=>'object', 'parameter='=>'mixed', '...args='=>'mixed'], 'call_user_method_array' => ['mixed', 'method_name'=>'string', 'object'=>'object', 'params'=>'list'], -'CallbackFilterIterator::__construct' => ['void', 'iterator'=>'Iterator', 'func'=>'callable(mixed):bool|callable(mixed,mixed):bool|callable(mixed,mixed,mixed):bool'], +'CallbackFilterIterator::__construct' => ['void', 'iterator'=>'Iterator', 'callback'=>'callable(mixed,mixed=,mixed=):bool'], 'CallbackFilterIterator::accept' => ['bool'], 'CallbackFilterIterator::current' => ['mixed'], 'CallbackFilterIterator::getInnerIterator' => ['Iterator'], @@ -1579,14 +1579,14 @@ return [ 'Directory::close' => ['void'], 'Directory::read' => ['string|false'], 'Directory::rewind' => ['void'], -'DirectoryIterator::__construct' => ['void', 'path'=>'string'], +'DirectoryIterator::__construct' => ['void', 'directory'=>'string'], 'DirectoryIterator::__toString' => ['string'], 'DirectoryIterator::current' => ['DirectoryIterator'], 'DirectoryIterator::getATime' => ['int'], 'DirectoryIterator::getBasename' => ['string', 'suffix='=>'string'], 'DirectoryIterator::getCTime' => ['int'], 'DirectoryIterator::getExtension' => ['string'], -'DirectoryIterator::getFileInfo' => ['SplFileInfo', 'class_name='=>'string'], +'DirectoryIterator::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'DirectoryIterator::getFilename' => ['string'], 'DirectoryIterator::getGroup' => ['int'], 'DirectoryIterator::getInode' => ['int'], @@ -1594,7 +1594,7 @@ return [ 'DirectoryIterator::getMTime' => ['int'], 'DirectoryIterator::getOwner' => ['int'], 'DirectoryIterator::getPath' => ['string'], -'DirectoryIterator::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'], +'DirectoryIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'?class-string'], 'DirectoryIterator::getPathname' => ['string'], 'DirectoryIterator::getPerms' => ['int'], 'DirectoryIterator::getRealPath' => ['string'], @@ -1609,11 +1609,11 @@ return [ 'DirectoryIterator::isWritable' => ['bool'], 'DirectoryIterator::key' => ['string'], 'DirectoryIterator::next' => ['void'], -'DirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], +'DirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], 'DirectoryIterator::rewind' => ['void'], -'DirectoryIterator::seek' => ['void', 'position'=>'int'], -'DirectoryIterator::setFileClass' => ['void', 'class_name='=>'string'], -'DirectoryIterator::setInfoClass' => ['void', 'class_name='=>'string'], +'DirectoryIterator::seek' => ['void', 'offset'=>'int'], +'DirectoryIterator::setFileClass' => ['void', 'class='=>'class-string'], +'DirectoryIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'DirectoryIterator::valid' => ['bool'], 'dirname' => ['string', 'path'=>'string', 'levels='=>'int'], 'disk_free_space' => ['float|false', 'directory'=>'string'], @@ -2817,14 +2817,14 @@ return [ 'filepro_retrieve' => ['string', 'row_number'=>'int', 'field_number'=>'int'], 'filepro_rowcount' => ['int'], 'filesize' => ['int|false', 'filename'=>'string'], -'FilesystemIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], +'FilesystemIterator::__construct' => ['void', 'directory'=>'string', 'flags='=>'int'], 'FilesystemIterator::__toString' => ['string'], 'FilesystemIterator::current' => ['SplFileInfo|FilesystemIterator|string'], 'FilesystemIterator::getATime' => ['int'], 'FilesystemIterator::getBasename' => ['string', 'suffix='=>'string'], 'FilesystemIterator::getCTime' => ['int'], 'FilesystemIterator::getExtension' => ['string'], -'FilesystemIterator::getFileInfo' => ['SplFileInfo', 'class_name='=>'string'], +'FilesystemIterator::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'FilesystemIterator::getFilename' => ['string'], 'FilesystemIterator::getFlags' => ['int'], 'FilesystemIterator::getGroup' => ['int'], @@ -2833,7 +2833,7 @@ return [ 'FilesystemIterator::getMTime' => ['int'], 'FilesystemIterator::getOwner' => ['int'], 'FilesystemIterator::getPath' => ['string'], -'FilesystemIterator::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'], +'FilesystemIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'?class-string'], 'FilesystemIterator::getPathname' => ['string'], 'FilesystemIterator::getPerms' => ['int'], 'FilesystemIterator::getRealPath' => ['string'], @@ -2848,12 +2848,12 @@ return [ 'FilesystemIterator::isWritable' => ['bool'], 'FilesystemIterator::key' => ['string'], 'FilesystemIterator::next' => ['void'], -'FilesystemIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], +'FilesystemIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], 'FilesystemIterator::rewind' => ['void'], -'FilesystemIterator::seek' => ['void', 'position'=>'int'], -'FilesystemIterator::setFileClass' => ['void', 'class_name='=>'string'], -'FilesystemIterator::setFlags' => ['void', 'flags='=>'int'], -'FilesystemIterator::setInfoClass' => ['void', 'class_name='=>'string'], +'FilesystemIterator::seek' => ['void', 'offset'=>'int'], +'FilesystemIterator::setFileClass' => ['void', 'class='=>'class-string'], +'FilesystemIterator::setFlags' => ['void', 'flags'=>'int'], +'FilesystemIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'FilesystemIterator::valid' => ['bool'], 'filetype' => ['string|false', 'filename'=>'string'], 'filter_has_var' => ['bool', 'input_type'=>'int', 'var_name'=>'string'], @@ -3334,14 +3334,14 @@ return [ 'gettimeofday\'1' => ['float', 'as_float='=>'true'], 'gettype' => ['string', 'value'=>'mixed'], 'glob' => ['list|false', 'pattern'=>'string', 'flags='=>'int'], -'GlobIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], +'GlobIterator::__construct' => ['void', 'pattern'=>'string', 'flags='=>'int'], 'GlobIterator::count' => ['int'], 'GlobIterator::current' => ['FilesystemIterator|SplFileInfo|string'], 'GlobIterator::getATime' => ['int'], 'GlobIterator::getBasename' => ['string', 'suffix='=>'string'], 'GlobIterator::getCTime' => ['int'], 'GlobIterator::getExtension' => ['string'], -'GlobIterator::getFileInfo' => ['SplFileInfo'], +'GlobIterator::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'GlobIterator::getFilename' => ['string'], 'GlobIterator::getFlags' => ['int'], 'GlobIterator::getGroup' => ['int'], @@ -3350,7 +3350,7 @@ return [ 'GlobIterator::getMTime' => ['int'], 'GlobIterator::getOwner' => ['int'], 'GlobIterator::getPath' => ['string'], -'GlobIterator::getPathInfo' => ['?SplFileInfo'], +'GlobIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'?class-string'], 'GlobIterator::getPathname' => ['string'], 'GlobIterator::getPerms' => ['int'], 'GlobIterator::getRealPath' => ['string|false'], @@ -3365,12 +3365,12 @@ return [ 'GlobIterator::isWritable' => ['bool'], 'GlobIterator::key' => ['string'], 'GlobIterator::next' => ['void'], -'GlobIterator::openFile' => ['SplFileObject'], +'GlobIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], 'GlobIterator::rewind' => ['void'], -'GlobIterator::seek' => ['void', 'position'=>'int'], -'GlobIterator::setFileClass' => ['void'], -'GlobIterator::setFlags' => ['void', 'flags='=>'int'], -'GlobIterator::setInfoClass' => ['void'], +'GlobIterator::seek' => ['void', 'offset'=>'int'], +'GlobIterator::setFileClass' => ['void', 'class='=>'class-string'], +'GlobIterator::setFlags' => ['void', 'flags'=>'int'], +'GlobIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'GlobIterator::valid' => ['bool'], 'Gmagick::__construct' => ['void', 'filename='=>'string'], 'Gmagick::addimage' => ['Gmagick', 'gmagick'=>'gmagick'], @@ -7889,7 +7889,7 @@ return [ 'mysqli_fetch_field_direct' => ['object|false', 'result'=>'mysqli_result', 'index'=>'int'], 'mysqli_fetch_fields' => ['stdClass[]', 'result'=>'mysqli_result'], 'mysqli_fetch_lengths' => ['array|false', 'result'=>'mysqli_result'], -'mysqli_fetch_object' => ['object|false|null', 'result'=>'mysqli_result', 'class='=>'class-string', 'constructor_args='=>'array'], +'mysqli_fetch_object' => ['object|false|null', 'result'=>'mysqli_result', 'class='=>'string', 'constructor_args='=>'array'], 'mysqli_fetch_row' => ['list|false|null', 'result'=>'mysqli_result'], 'mysqli_field_count' => ['int', 'mysql'=>'mysqli'], 'mysqli_field_seek' => ['bool', 'result'=>'mysqli_result', 'index'=>'int'], @@ -7944,7 +7944,7 @@ return [ 'mysqli_result::fetch_field' => ['object|false'], 'mysqli_result::fetch_field_direct' => ['object|false', 'index'=>'int'], 'mysqli_result::fetch_fields' => ['stdClass[]'], -'mysqli_result::fetch_object' => ['object|false|null', 'class='=>'class-string', 'constructor_args='=>'array'], +'mysqli_result::fetch_object' => ['object|false|null', 'class='=>'string', 'constructor_args='=>'array'], 'mysqli_result::fetch_row' => ['list|false|null'], 'mysqli_result::field_seek' => ['bool', 'index'=>'int'], 'mysqli_result::free' => ['void'], @@ -9052,7 +9052,7 @@ return [ 'PDOStatement::fetch' => ['mixed', 'mode='=>'int', 'cursorOrientation='=>'int', 'cursorOffset='=>'int'], 'PDOStatement::fetchAll' => ['array', 'mode='=>'int', '...args='=>'mixed'], 'PDOStatement::fetchColumn' => ['mixed', 'column='=>'int'], -'PDOStatement::fetchObject' => ['object|false', 'class='=>'?string', 'constructorArgs='=>'array'], +'PDOStatement::fetchObject' => ['object|false', 'class='=>'?class-string', 'constructorArgs='=>'array'], 'PDOStatement::getAttribute' => ['mixed', 'name'=>'int'], 'PDOStatement::getColumnMeta' => ['array|false', 'column'=>'int'], 'PDOStatement::nextRowset' => ['bool'], @@ -9817,7 +9817,7 @@ return [ 'rectObj::setextent' => ['void', 'minx'=>'float', 'miny'=>'float', 'maxx'=>'float', 'maxy'=>'float'], 'RecursiveArrayIterator::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int'], 'RecursiveArrayIterator::append' => ['void', 'value'=>'mixed'], -'RecursiveArrayIterator::asort' => ['void'], +'RecursiveArrayIterator::asort' => ['true', 'flags='=>'int'], 'RecursiveArrayIterator::count' => ['int'], 'RecursiveArrayIterator::current' => ['mixed'], 'RecursiveArrayIterator::getArrayCopy' => ['array'], @@ -9825,23 +9825,23 @@ return [ 'RecursiveArrayIterator::getFlags' => ['int'], 'RecursiveArrayIterator::hasChildren' => ['bool'], 'RecursiveArrayIterator::key' => ['string|int|null'], -'RecursiveArrayIterator::ksort' => ['void'], +'RecursiveArrayIterator::ksort' => ['true', 'flags='=>'int'], 'RecursiveArrayIterator::natcasesort' => ['true'], 'RecursiveArrayIterator::natsort' => ['true'], 'RecursiveArrayIterator::next' => ['void'], -'RecursiveArrayIterator::offsetExists' => ['void', 'index'=>'string'], -'RecursiveArrayIterator::offsetGet' => ['mixed', 'index'=>'string'], -'RecursiveArrayIterator::offsetSet' => ['void', 'index'=>'string', 'newval'=>'string'], -'RecursiveArrayIterator::offsetUnset' => ['void', 'index'=>'string'], +'RecursiveArrayIterator::offsetExists' => ['bool', 'key'=>'string|int'], +'RecursiveArrayIterator::offsetGet' => ['mixed', 'key'=>'string|int'], +'RecursiveArrayIterator::offsetSet' => ['void', 'key'=>'string|int', 'value'=>'string'], +'RecursiveArrayIterator::offsetUnset' => ['void', 'key'=>'string|int'], 'RecursiveArrayIterator::rewind' => ['void'], -'RecursiveArrayIterator::seek' => ['void', 'position'=>'int'], +'RecursiveArrayIterator::seek' => ['void', 'offset'=>'int'], 'RecursiveArrayIterator::serialize' => ['string'], -'RecursiveArrayIterator::setFlags' => ['void', 'flags'=>'string'], -'RecursiveArrayIterator::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], -'RecursiveArrayIterator::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], -'RecursiveArrayIterator::unserialize' => ['string', 'serialized'=>'string'], +'RecursiveArrayIterator::setFlags' => ['void', 'flags'=>'int'], +'RecursiveArrayIterator::uasort' => ['true', 'callback'=>'callable(mixed,mixed):int'], +'RecursiveArrayIterator::uksort' => ['true', 'callback'=>'callable(mixed,mixed):int'], +'RecursiveArrayIterator::unserialize' => ['void', 'data'=>'string'], 'RecursiveArrayIterator::valid' => ['bool'], -'RecursiveCachingIterator::__construct' => ['void', 'it'=>'Iterator', 'flags='=>'int'], +'RecursiveCachingIterator::__construct' => ['void', 'iterator'=>'Iterator', 'flags='=>'int'], 'RecursiveCachingIterator::__toString' => ['string'], 'RecursiveCachingIterator::count' => ['int'], 'RecursiveCachingIterator::current' => ['void'], @@ -9853,14 +9853,14 @@ return [ 'RecursiveCachingIterator::hasNext' => ['bool'], 'RecursiveCachingIterator::key' => ['bool|float|int|string'], 'RecursiveCachingIterator::next' => ['void'], -'RecursiveCachingIterator::offsetExists' => ['bool', 'index'=>'string'], -'RecursiveCachingIterator::offsetGet' => ['string', 'index'=>'string'], -'RecursiveCachingIterator::offsetSet' => ['void', 'index'=>'string', 'newval'=>'string'], -'RecursiveCachingIterator::offsetUnset' => ['void', 'index'=>'string'], +'RecursiveCachingIterator::offsetExists' => ['bool', 'key'=>'string'], +'RecursiveCachingIterator::offsetGet' => ['string', 'key'=>'string'], +'RecursiveCachingIterator::offsetSet' => ['void', 'key'=>'string', 'value'=>'string'], +'RecursiveCachingIterator::offsetUnset' => ['void', 'key'=>'string'], 'RecursiveCachingIterator::rewind' => ['void'], 'RecursiveCachingIterator::setFlags' => ['void', 'flags'=>'int'], 'RecursiveCachingIterator::valid' => ['bool'], -'RecursiveCallbackFilterIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'func'=>'callable'], +'RecursiveCallbackFilterIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'callback'=>'callable(mixed,mixed=,mixed=):bool'], 'RecursiveCallbackFilterIterator::accept' => ['bool'], 'RecursiveCallbackFilterIterator::current' => ['mixed'], 'RecursiveCallbackFilterIterator::getChildren' => ['RecursiveCallbackFilterIterator'], @@ -9870,7 +9870,7 @@ return [ 'RecursiveCallbackFilterIterator::next' => ['void'], 'RecursiveCallbackFilterIterator::rewind' => ['void'], 'RecursiveCallbackFilterIterator::valid' => ['bool'], -'RecursiveDirectoryIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], +'RecursiveDirectoryIterator::__construct' => ['void', 'directory'=>'string', 'flags='=>'int'], 'RecursiveDirectoryIterator::__toString' => ['string'], 'RecursiveDirectoryIterator::current' => ['string|SplFileInfo|FilesystemIterator'], 'RecursiveDirectoryIterator::getATime' => ['int'], @@ -9878,7 +9878,7 @@ return [ 'RecursiveDirectoryIterator::getChildren' => ['RecursiveDirectoryIterator'], 'RecursiveDirectoryIterator::getCTime' => ['int'], 'RecursiveDirectoryIterator::getExtension' => ['string'], -'RecursiveDirectoryIterator::getFileInfo' => ['SplFileInfo', 'class_name='=>'string'], +'RecursiveDirectoryIterator::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'RecursiveDirectoryIterator::getFilename' => ['string'], 'RecursiveDirectoryIterator::getFlags' => ['int'], 'RecursiveDirectoryIterator::getGroup' => ['int'], @@ -9887,7 +9887,7 @@ return [ 'RecursiveDirectoryIterator::getMTime' => ['int'], 'RecursiveDirectoryIterator::getOwner' => ['int'], 'RecursiveDirectoryIterator::getPath' => ['string'], -'RecursiveDirectoryIterator::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'], +'RecursiveDirectoryIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'?class-string'], 'RecursiveDirectoryIterator::getPathname' => ['string'], 'RecursiveDirectoryIterator::getPerms' => ['int'], 'RecursiveDirectoryIterator::getRealPath' => ['string'], @@ -9895,7 +9895,7 @@ return [ 'RecursiveDirectoryIterator::getSubPath' => ['string'], 'RecursiveDirectoryIterator::getSubPathname' => ['string'], 'RecursiveDirectoryIterator::getType' => ['string'], -'RecursiveDirectoryIterator::hasChildren' => ['bool', 'allow_links='=>'bool'], +'RecursiveDirectoryIterator::hasChildren' => ['bool', 'allowLinks='=>'bool'], 'RecursiveDirectoryIterator::isDir' => ['bool'], 'RecursiveDirectoryIterator::isDot' => ['bool'], 'RecursiveDirectoryIterator::isExecutable' => ['bool'], @@ -9905,12 +9905,12 @@ return [ 'RecursiveDirectoryIterator::isWritable' => ['bool'], 'RecursiveDirectoryIterator::key' => ['string'], 'RecursiveDirectoryIterator::next' => ['void'], -'RecursiveDirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], +'RecursiveDirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], 'RecursiveDirectoryIterator::rewind' => ['void'], -'RecursiveDirectoryIterator::seek' => ['void', 'position'=>'int'], -'RecursiveDirectoryIterator::setFileClass' => ['void', 'class_name='=>'string'], -'RecursiveDirectoryIterator::setFlags' => ['void', 'flags='=>'int'], -'RecursiveDirectoryIterator::setInfoClass' => ['void', 'class_name='=>'string'], +'RecursiveDirectoryIterator::seek' => ['void', 'offset'=>'int'], +'RecursiveDirectoryIterator::setFileClass' => ['void', 'class='=>'class-string'], +'RecursiveDirectoryIterator::setFlags' => ['void', 'flags'=>'int'], +'RecursiveDirectoryIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'RecursiveDirectoryIterator::valid' => ['bool'], 'RecursiveFilterIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator'], 'RecursiveFilterIterator::accept' => ['bool'], @@ -9946,9 +9946,9 @@ return [ 'RecursiveIteratorIterator::next' => ['void'], 'RecursiveIteratorIterator::nextElement' => ['void'], 'RecursiveIteratorIterator::rewind' => ['void'], -'RecursiveIteratorIterator::setMaxDepth' => ['void', 'max_depth='=>'int'], +'RecursiveIteratorIterator::setMaxDepth' => ['void', 'maxDepth='=>'int'], 'RecursiveIteratorIterator::valid' => ['bool'], -'RecursiveRegexIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'regex'=>'string', 'mode='=>'int', 'flags='=>'int', 'preg_flags='=>'int'], +'RecursiveRegexIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'pattern'=>'string', 'mode='=>'int', 'flags='=>'int', 'pregFlags='=>'int'], 'RecursiveRegexIterator::accept' => ['bool'], 'RecursiveRegexIterator::current' => ['mixed'], 'RecursiveRegexIterator::getChildren' => ['RecursiveRegexIterator'], @@ -9961,11 +9961,11 @@ return [ 'RecursiveRegexIterator::key' => ['mixed'], 'RecursiveRegexIterator::next' => ['void'], 'RecursiveRegexIterator::rewind' => ['void'], -'RecursiveRegexIterator::setFlags' => ['void', 'new_flags'=>'int'], -'RecursiveRegexIterator::setMode' => ['void', 'new_mode'=>'int'], -'RecursiveRegexIterator::setPregFlags' => ['void', 'new_flags'=>'int'], +'RecursiveRegexIterator::setFlags' => ['void', 'flags'=>'int'], +'RecursiveRegexIterator::setMode' => ['void', 'mode'=>'int'], +'RecursiveRegexIterator::setPregFlags' => ['void', 'pregFlags'=>'int'], 'RecursiveRegexIterator::valid' => ['bool'], -'RecursiveTreeIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator|IteratorAggregate', 'flags='=>'int', 'cit_flags='=>'int', 'mode'=>'int'], +'RecursiveTreeIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator|IteratorAggregate', 'flags='=>'int', 'cachingIteratorFlags='=>'int', 'mode='=>'int'], 'RecursiveTreeIterator::beginChildren' => ['void'], 'RecursiveTreeIterator::beginIteration' => ['void'], 'RecursiveTreeIterator::callGetChildren' => ['?RecursiveIterator'], @@ -9984,9 +9984,9 @@ return [ 'RecursiveTreeIterator::next' => ['void'], 'RecursiveTreeIterator::nextElement' => ['void'], 'RecursiveTreeIterator::rewind' => ['void'], -'RecursiveTreeIterator::setMaxDepth' => ['void', 'max_depth='=>'int'], -'RecursiveTreeIterator::setPostfix' => ['void', 'prefix'=>'string'], -'RecursiveTreeIterator::setPrefixPart' => ['void', 'part'=>'int', 'prefix'=>'string'], +'RecursiveTreeIterator::setMaxDepth' => ['void', 'maxDepth='=>'int'], +'RecursiveTreeIterator::setPostfix' => ['void', 'postfix'=>'string'], +'RecursiveTreeIterator::setPrefixPart' => ['void', 'part'=>'int', 'value'=>'string'], 'RecursiveTreeIterator::valid' => ['bool'], 'Redis::__construct' => ['void'], 'Redis::__destruct' => ['void'], @@ -10755,7 +10755,7 @@ return [ 'ReflectionZendExtension::getVersion' => ['string'], 'Reflector::__toString' => ['string'], 'Reflector::export' => ['?string'], -'RegexIterator::__construct' => ['void', 'iterator'=>'Iterator', 'regex'=>'string', 'mode='=>'int', 'flags='=>'int', 'preg_flags='=>'int'], +'RegexIterator::__construct' => ['void', 'iterator'=>'Iterator', 'pattern'=>'string', 'mode='=>'int', 'flags='=>'int', 'pregFlags='=>'int'], 'RegexIterator::accept' => ['bool'], 'RegexIterator::current' => ['mixed'], 'RegexIterator::getFlags' => ['int'], @@ -10766,9 +10766,9 @@ return [ 'RegexIterator::key' => ['mixed'], 'RegexIterator::next' => ['void'], 'RegexIterator::rewind' => ['void'], -'RegexIterator::setFlags' => ['void', 'new_flags'=>'int'], -'RegexIterator::setMode' => ['void', 'new_mode'=>'int'], -'RegexIterator::setPregFlags' => ['void', 'new_flags'=>'int'], +'RegexIterator::setFlags' => ['void', 'flags'=>'int'], +'RegexIterator::setMode' => ['void', 'mode'=>'int'], +'RegexIterator::setPregFlags' => ['void', 'pregFlags'=>'int'], 'RegexIterator::valid' => ['bool'], 'register_event_handler' => ['bool', 'event_handler_func'=>'string', 'handler_register_name'=>'string', 'event_type_mask'=>'int'], 'register_shutdown_function' => ['void', 'callback'=>'callable', '...args='=>'mixed'], @@ -12273,7 +12273,7 @@ return [ 'spl_object_hash' => ['string', 'object'=>'object'], 'spl_object_id' => ['int', 'object'=>'object'], 'SplDoublyLinkedList::__construct' => ['void'], -'SplDoublyLinkedList::add' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], +'SplDoublyLinkedList::add' => ['void', 'index'=>'int', 'value'=>'mixed'], 'SplDoublyLinkedList::bottom' => ['mixed'], 'SplDoublyLinkedList::count' => ['int'], 'SplDoublyLinkedList::current' => ['mixed'], @@ -12283,17 +12283,17 @@ return [ 'SplDoublyLinkedList::next' => ['void'], 'SplDoublyLinkedList::offsetExists' => ['bool', 'index'=>'mixed'], 'SplDoublyLinkedList::offsetGet' => ['mixed', 'index'=>'mixed'], -'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], +'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'mixed', 'value'=>'mixed'], 'SplDoublyLinkedList::offsetUnset' => ['void', 'index'=>'mixed'], 'SplDoublyLinkedList::pop' => ['mixed'], 'SplDoublyLinkedList::prev' => ['void'], 'SplDoublyLinkedList::push' => ['void', 'value'=>'mixed'], 'SplDoublyLinkedList::rewind' => ['void'], 'SplDoublyLinkedList::serialize' => ['string'], -'SplDoublyLinkedList::setIteratorMode' => ['void', 'flags'=>'int'], +'SplDoublyLinkedList::setIteratorMode' => ['int', 'mode'=>'int'], 'SplDoublyLinkedList::shift' => ['mixed'], 'SplDoublyLinkedList::top' => ['mixed'], -'SplDoublyLinkedList::unserialize' => ['void', 'serialized'=>'string'], +'SplDoublyLinkedList::unserialize' => ['void', 'data'=>'string'], 'SplDoublyLinkedList::unshift' => ['void', 'value'=>'mixed'], 'SplDoublyLinkedList::valid' => ['bool'], 'SplEnum::__construct' => ['void', 'initial_value='=>'mixed', 'strict='=>'bool'], @@ -12305,7 +12305,7 @@ return [ 'SplFileInfo::getBasename' => ['string', 'suffix='=>'string'], 'SplFileInfo::getCTime' => ['int|false'], 'SplFileInfo::getExtension' => ['string'], -'SplFileInfo::getFileInfo' => ['SplFileInfo', 'class='=>'?string'], +'SplFileInfo::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'SplFileInfo::getFilename' => ['string'], 'SplFileInfo::getGroup' => ['int|false'], 'SplFileInfo::getInode' => ['int|false'], @@ -12313,7 +12313,7 @@ return [ 'SplFileInfo::getMTime' => ['int|false'], 'SplFileInfo::getOwner' => ['int|false'], 'SplFileInfo::getPath' => ['string'], -'SplFileInfo::getPathInfo' => ['SplFileInfo|null', 'class='=>'?string'], +'SplFileInfo::getPathInfo' => ['SplFileInfo|null', 'class='=>'?class-string'], 'SplFileInfo::getPathname' => ['string'], 'SplFileInfo::getPerms' => ['int|false'], 'SplFileInfo::getRealPath' => ['string|false'], @@ -12326,8 +12326,8 @@ return [ 'SplFileInfo::isReadable' => ['bool'], 'SplFileInfo::isWritable' => ['bool'], 'SplFileInfo::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], -'SplFileInfo::setFileClass' => ['void', 'class='=>'string'], -'SplFileInfo::setInfoClass' => ['void', 'class='=>'string'], +'SplFileInfo::setFileClass' => ['void', 'class='=>'class-string'], +'SplFileInfo::setInfoClass' => ['void', 'class='=>'class-string'], 'SplFileObject::__construct' => ['void', 'filename'=>'string', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], 'SplFileObject::__toString' => ['string'], 'SplFileObject::current' => ['string|array|false'], @@ -12353,7 +12353,7 @@ return [ 'SplFileObject::getCTime' => ['int|false'], 'SplFileObject::getCurrentLine' => ['string'], 'SplFileObject::getExtension' => ['string'], -'SplFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'?string'], +'SplFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'SplFileObject::getFilename' => ['string'], 'SplFileObject::getFlags' => ['int'], 'SplFileObject::getGroup' => ['int|false'], @@ -12363,7 +12363,7 @@ return [ 'SplFileObject::getMTime' => ['int|false'], 'SplFileObject::getOwner' => ['int|false'], 'SplFileObject::getPath' => ['string'], -'SplFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'?string'], +'SplFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'?class-string'], 'SplFileObject::getPathname' => ['string'], 'SplFileObject::getPerms' => ['int|false'], 'SplFileObject::getRealPath' => ['false|string'], @@ -12382,22 +12382,22 @@ return [ 'SplFileObject::rewind' => ['void'], 'SplFileObject::seek' => ['void', 'line'=>'int'], 'SplFileObject::setCsvControl' => ['void', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'], -'SplFileObject::setFileClass' => ['void', 'class='=>'string'], +'SplFileObject::setFileClass' => ['void', 'class='=>'class-string'], 'SplFileObject::setFlags' => ['void', 'flags'=>'int'], -'SplFileObject::setInfoClass' => ['void', 'class='=>'string'], +'SplFileObject::setInfoClass' => ['void', 'class='=>'class-string'], 'SplFileObject::setMaxLineLen' => ['void', 'maxLength'=>'int'], 'SplFileObject::valid' => ['bool'], 'SplFixedArray::__construct' => ['void', 'size='=>'int'], 'SplFixedArray::__wakeup' => ['void'], 'SplFixedArray::count' => ['int'], 'SplFixedArray::current' => ['mixed'], -'SplFixedArray::fromArray' => ['SplFixedArray', 'data'=>'array', 'save_indexes='=>'bool'], +'SplFixedArray::fromArray' => ['SplFixedArray', 'array'=>'array', 'preserveKeys='=>'bool'], 'SplFixedArray::getSize' => ['int'], 'SplFixedArray::key' => ['int'], 'SplFixedArray::next' => ['void'], 'SplFixedArray::offsetExists' => ['bool', 'index'=>'int'], 'SplFixedArray::offsetGet' => ['mixed', 'index'=>'int'], -'SplFixedArray::offsetSet' => ['void', 'index'=>'int', 'newval'=>'mixed'], +'SplFixedArray::offsetSet' => ['void', 'index'=>'int', 'value'=>'mixed'], 'SplFixedArray::offsetUnset' => ['void', 'index'=>'int'], 'SplFixedArray::rewind' => ['void'], 'SplFixedArray::setSize' => ['bool', 'size'=>'int'], @@ -12418,8 +12418,8 @@ return [ 'SplHeap::top' => ['mixed'], 'SplHeap::valid' => ['bool'], 'SplMaxHeap::__construct' => ['void'], -'SplMaxHeap::compare' => ['int', 'a'=>'mixed', 'b'=>'mixed'], -'SplMinHeap::compare' => ['int', 'a'=>'mixed', 'b'=>'mixed'], +'SplMaxHeap::compare' => ['int', 'value1'=>'mixed', 'value2'=>'mixed'], +'SplMinHeap::compare' => ['int', 'value1'=>'mixed', 'value2'=>'mixed'], 'SplMinHeap::count' => ['int'], 'SplMinHeap::current' => ['mixed'], 'SplMinHeap::extract' => ['mixed'], @@ -12433,10 +12433,10 @@ return [ 'SplMinHeap::top' => ['mixed'], 'SplMinHeap::valid' => ['bool'], 'SplObjectStorage::__construct' => ['void'], -'SplObjectStorage::addAll' => ['void', 'os'=>'splobjectstorage'], -'SplObjectStorage::attach' => ['void', 'object'=>'object', 'inf='=>'mixed'], +'SplObjectStorage::addAll' => ['int', 'storage'=>'SplObjectStorage'], +'SplObjectStorage::attach' => ['void', 'object'=>'object', 'info='=>'mixed'], 'SplObjectStorage::contains' => ['bool', 'object'=>'object'], -'SplObjectStorage::count' => ['int'], +'SplObjectStorage::count' => ['int', 'mode='=>'int'], 'SplObjectStorage::current' => ['object'], 'SplObjectStorage::detach' => ['void', 'object'=>'object'], 'SplObjectStorage::getHash' => ['string', 'object'=>'object'], @@ -12445,18 +12445,18 @@ return [ 'SplObjectStorage::next' => ['void'], 'SplObjectStorage::offsetExists' => ['bool', 'object'=>'object'], 'SplObjectStorage::offsetGet' => ['mixed', 'object'=>'object'], -'SplObjectStorage::offsetSet' => ['object', 'object'=>'object', 'data='=>'mixed'], +'SplObjectStorage::offsetSet' => ['void', 'object'=>'object', 'info='=>'mixed'], 'SplObjectStorage::offsetUnset' => ['void', 'object'=>'object'], -'SplObjectStorage::removeAll' => ['void', 'os'=>'splobjectstorage'], -'SplObjectStorage::removeAllExcept' => ['void', 'os'=>'splobjectstorage'], +'SplObjectStorage::removeAll' => ['int', 'storage'=>'SplObjectStorage'], +'SplObjectStorage::removeAllExcept' => ['int', 'storage'=>'SplObjectStorage'], 'SplObjectStorage::rewind' => ['void'], 'SplObjectStorage::serialize' => ['string'], -'SplObjectStorage::setInfo' => ['void', 'inf'=>'mixed'], -'SplObjectStorage::unserialize' => ['void', 'serialized'=>'string'], +'SplObjectStorage::setInfo' => ['void', 'info'=>'mixed'], +'SplObjectStorage::unserialize' => ['void', 'data'=>'string'], 'SplObjectStorage::valid' => ['bool'], 'SplObserver::update' => ['void', 'subject'=>'SplSubject'], 'SplPriorityQueue::__construct' => ['void'], -'SplPriorityQueue::compare' => ['int', 'a'=>'mixed', 'b'=>'mixed'], +'SplPriorityQueue::compare' => ['int', 'priority1'=>'mixed', 'priority2'=>'mixed'], 'SplPriorityQueue::count' => ['int'], 'SplPriorityQueue::current' => ['mixed'], 'SplPriorityQueue::extract' => ['mixed'], @@ -12479,7 +12479,7 @@ return [ 'SplQueue::next' => ['void'], 'SplQueue::offsetExists' => ['bool', 'index'=>'mixed'], 'SplQueue::offsetGet' => ['mixed', 'index'=>'mixed'], -'SplQueue::offsetSet' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], +'SplQueue::offsetSet' => ['void', 'index'=>'?int', 'value'=>'mixed'], 'SplQueue::offsetUnset' => ['void', 'index'=>'mixed'], 'SplQueue::pop' => ['mixed'], 'SplQueue::prev' => ['void'], @@ -12489,11 +12489,11 @@ return [ 'SplQueue::setIteratorMode' => ['int', 'mode'=>'int'], 'SplQueue::shift' => ['mixed'], 'SplQueue::top' => ['mixed'], -'SplQueue::unserialize' => ['void', 'serialized'=>'string'], +'SplQueue::unserialize' => ['void', 'data'=>'string'], 'SplQueue::unshift' => ['void', 'value'=>'mixed'], 'SplQueue::valid' => ['bool'], 'SplStack::__construct' => ['void'], -'SplStack::add' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], +'SplStack::add' => ['void', 'index'=>'int', 'value'=>'mixed'], 'SplStack::bottom' => ['mixed'], 'SplStack::count' => ['int'], 'SplStack::current' => ['mixed'], @@ -12503,7 +12503,7 @@ return [ 'SplStack::next' => ['void'], 'SplStack::offsetExists' => ['bool', 'index'=>'mixed'], 'SplStack::offsetGet' => ['mixed', 'index'=>'mixed'], -'SplStack::offsetSet' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], +'SplStack::offsetSet' => ['void', 'index'=>'?int', 'value'=>'mixed'], 'SplStack::offsetUnset' => ['void', 'index'=>'mixed'], 'SplStack::pop' => ['mixed'], 'SplStack::prev' => ['void'], @@ -12513,7 +12513,7 @@ return [ 'SplStack::setIteratorMode' => ['int', 'mode'=>'int'], 'SplStack::shift' => ['mixed'], 'SplStack::top' => ['mixed'], -'SplStack::unserialize' => ['void', 'serialized'=>'string'], +'SplStack::unserialize' => ['void', 'data'=>'string'], 'SplStack::unshift' => ['void', 'value'=>'mixed'], 'SplStack::valid' => ['bool'], 'SplSubject::attach' => ['void', 'observer'=>'SplObserver'], @@ -12544,7 +12544,7 @@ return [ 'SplTempFileObject::getCTime' => ['int|false'], 'SplTempFileObject::getCurrentLine' => ['string'], 'SplTempFileObject::getExtension' => ['string'], -'SplTempFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'?string'], +'SplTempFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'?class-string'], 'SplTempFileObject::getFilename' => ['string'], 'SplTempFileObject::getFlags' => ['int'], 'SplTempFileObject::getGroup' => ['int|false'], @@ -12554,7 +12554,7 @@ return [ 'SplTempFileObject::getMTime' => ['int|false'], 'SplTempFileObject::getOwner' => ['int|false'], 'SplTempFileObject::getPath' => ['string'], -'SplTempFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'?string'], +'SplTempFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'?class-string'], 'SplTempFileObject::getPathname' => ['string'], 'SplTempFileObject::getPerms' => ['int|false'], 'SplTempFileObject::getRealPath' => ['false|string'], @@ -12573,9 +12573,9 @@ return [ 'SplTempFileObject::rewind' => ['void'], 'SplTempFileObject::seek' => ['void', 'line'=>'int'], 'SplTempFileObject::setCsvControl' => ['void', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'], -'SplTempFileObject::setFileClass' => ['void', 'class='=>'string'], +'SplTempFileObject::setFileClass' => ['void', 'class='=>'class-string'], 'SplTempFileObject::setFlags' => ['void', 'flags'=>'int'], -'SplTempFileObject::setInfoClass' => ['void', 'class='=>'string'], +'SplTempFileObject::setInfoClass' => ['void', 'class='=>'class-string'], 'SplTempFileObject::setMaxLineLen' => ['void', 'maxLength'=>'int'], 'SplTempFileObject::valid' => ['bool'], 'SplType::__construct' => ['void', 'initial_value='=>'mixed', 'strict='=>'bool'], @@ -14264,7 +14264,7 @@ return [ 'uopz_get_hook\'1' => ['?Closure', 'function'=>'string'], 'uopz_get_mock' => ['string|object|null', 'class'=>'string'], 'uopz_get_property' => ['mixed', 'class'=>'object|string', 'property'=>'string'], -'uopz_get_return' => ['mixed', 'class='=>'string', 'function='=>'string'], +'uopz_get_return' => ['mixed', 'class='=>'class-string', 'function='=>'string'], 'uopz_get_static' => ['?array', 'class'=>'string', 'function'=>'string'], 'uopz_implement' => ['bool', 'class'=>'string', 'interface'=>'string'], 'uopz_overload' => ['void', 'opcode'=>'int', 'callable'=>'Callable'], @@ -14286,7 +14286,7 @@ return [ 'uopz_unset_hook' => ['bool', 'class'=>'string', 'function'=>'string'], 'uopz_unset_hook\'1' => ['bool', 'function'=>'string'], 'uopz_unset_mock' => ['void', 'class'=>'string'], -'uopz_unset_return' => ['bool', 'class='=>'string', 'function='=>'string'], +'uopz_unset_return' => ['bool', 'class='=>'class-string', 'function='=>'string'], 'uopz_unset_return\'1' => ['bool', 'function'=>'string'], 'urldecode' => ['string', 'string'=>'string'], 'urlencode' => ['string', 'string'=>'string'], diff --git a/dictionaries/CallMap_80_delta.php b/dictionaries/CallMap_80_delta.php index d1b3f1de0..c44e9604d 100644 --- a/dictionaries/CallMap_80_delta.php +++ b/dictionaries/CallMap_80_delta.php @@ -81,14 +81,50 @@ return [ 'old' => ['void', 'dir_handle='=>'resource'], 'new' => ['void'], ], + 'DirectoryIterator::getFileInfo' => [ + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], + ], + 'DirectoryIterator::getPathInfo' => [ + 'old' => ['?SplFileInfo', 'class='=>'class-string'], + 'new' => ['?SplFileInfo', 'class='=>'?class-string'], + ], + 'DirectoryIterator::openFile' => [ + 'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], + 'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], + ], 'ErrorException::__construct' => [ 'old' => ['void', 'message='=>'string', 'code='=>'int', 'severity='=>'int', 'filename='=>'string', 'line='=>'int', 'previous='=>'?Throwable'], 'new' => ['void', 'message='=>'string', 'code='=>'int', 'severity='=>'int', 'filename='=>'?string', 'line='=>'?int', 'previous='=>'?Throwable'], ], + 'FilesystemIterator::getFileInfo' => [ + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], + ], + 'FilesystemIterator::getPathInfo' => [ + 'old' => ['?SplFileInfo', 'class='=>'class-string'], + 'new' => ['?SplFileInfo', 'class='=>'?class-string'], + ], + 'FilesystemIterator::openFile' => [ + 'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], + 'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], + ], 'finfo::__construct' => [ 'old' => ['void', 'flags='=>'int', 'magic_database='=>'string'], 'new' => ['void', 'flags='=>'int', 'magic_database='=>'?string'], ], + 'GlobIterator::getFileInfo' => [ + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], + ], + 'GlobIterator::getPathInfo' => [ + 'old' => ['?SplFileInfo', 'class='=>'class-string'], + 'new' => ['?SplFileInfo', 'class='=>'?class-string'], + ], + 'GlobIterator::openFile' => [ + 'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], + 'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], + ], 'IntlDateFormatter::__construct' => [ 'old' => ['void', 'locale'=>'?string', 'datetype'=>'null|int', 'timetype'=>'null|int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'], 'new' => ['void', 'locale'=>'?string', 'dateType'=>'int', 'timeType'=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'], @@ -293,6 +329,18 @@ return [ 'old' => ['bool', 'compression='=>'int'], 'new' => ['bool', 'compression='=>'?int'], ], + 'RecursiveDirectoryIterator::getFileInfo' => [ + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], + ], + 'RecursiveDirectoryIterator::getPathInfo' => [ + 'old' => ['?SplFileInfo', 'class='=>'class-string'], + 'new' => ['?SplFileInfo', 'class='=>'?class-string'], + ], + 'RecursiveDirectoryIterator::openFile' => [ + 'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], + 'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], + ], 'RecursiveIteratorIterator::getSubIterator' => [ 'old' => ['?RecursiveIterator', 'level='=>'int'], 'new' => ['?RecursiveIterator', 'level='=>'?int'], @@ -326,36 +374,36 @@ return [ 'new' => ['mixed', 'object='=>'null|object'], ], 'SplFileInfo::getFileInfo' => [ - 'old' => ['SplFileInfo', 'class='=>'string'], - 'new' => ['SplFileInfo', 'class='=>'?string'], + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], ], 'SplFileInfo::getPathInfo' => [ - 'old' => ['SplFileInfo|null', 'class='=>'string'], - 'new' => ['SplFileInfo|null', 'class='=>'?string'], + 'old' => ['SplFileInfo|null', 'class='=>'class-string'], + 'new' => ['SplFileInfo|null', 'class='=>'?class-string'], ], 'SplFileInfo::openFile' => [ 'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], 'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], ], 'SplFileObject::getFileInfo' => [ - 'old' => ['SplFileInfo', 'class='=>'string'], - 'new' => ['SplFileInfo', 'class='=>'?string'], + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], ], 'SplFileObject::getPathInfo' => [ - 'old' => ['SplFileInfo|null', 'class='=>'string'], - 'new' => ['SplFileInfo|null', 'class='=>'?string'], + 'old' => ['SplFileInfo|null', 'class='=>'class-string'], + 'new' => ['SplFileInfo|null', 'class='=>'?class-string'], ], 'SplFileObject::openFile' => [ 'old' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], 'new' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], ], 'SplTempFileObject::getFileInfo' => [ - 'old' => ['SplFileInfo', 'class='=>'string'], - 'new' => ['SplFileInfo', 'class='=>'?string'], + 'old' => ['SplFileInfo', 'class='=>'class-string'], + 'new' => ['SplFileInfo', 'class='=>'?class-string'], ], 'SplTempFileObject::getPathInfo' => [ - 'old' => ['SplFileInfo|null', 'class='=>'string'], - 'new' => ['SplFileInfo|null', 'class='=>'?string'], + 'old' => ['SplFileInfo|null', 'class='=>'class-string'], + 'new' => ['SplFileInfo|null', 'class='=>'?class-string'], ], 'SplTempFileObject::openFile' => [ 'old' => ['SplTempFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], diff --git a/dictionaries/CallMap_historical.php b/dictionaries/CallMap_historical.php index e58f87429..7d87ab099 100644 --- a/dictionaries/CallMap_historical.php +++ b/dictionaries/CallMap_historical.php @@ -215,50 +215,50 @@ return [ 'ArrayAccess::offsetUnset' => ['void', 'offset'=>'mixed'], 'ArrayIterator::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int'], 'ArrayIterator::append' => ['void', 'value'=>'mixed'], - 'ArrayIterator::asort' => ['void'], + 'ArrayIterator::asort' => ['true', 'flags='=>'int'], 'ArrayIterator::count' => ['int'], 'ArrayIterator::current' => ['mixed'], 'ArrayIterator::getArrayCopy' => ['array'], 'ArrayIterator::getFlags' => ['int'], 'ArrayIterator::key' => ['int|string|null'], - 'ArrayIterator::ksort' => ['void'], + 'ArrayIterator::ksort' => ['true', 'flags='=>'int'], 'ArrayIterator::natcasesort' => ['true'], 'ArrayIterator::natsort' => ['true'], 'ArrayIterator::next' => ['void'], - 'ArrayIterator::offsetExists' => ['bool', 'index'=>'string|int'], - 'ArrayIterator::offsetGet' => ['mixed', 'index'=>'string|int'], - 'ArrayIterator::offsetSet' => ['void', 'index'=>'string|int', 'newval'=>'mixed'], - 'ArrayIterator::offsetUnset' => ['void', 'index'=>'string|int'], + 'ArrayIterator::offsetExists' => ['bool', 'key'=>'string|int'], + 'ArrayIterator::offsetGet' => ['mixed', 'key'=>'string|int'], + 'ArrayIterator::offsetSet' => ['void', 'key'=>'string|int', 'value'=>'mixed'], + 'ArrayIterator::offsetUnset' => ['void', 'key'=>'string|int'], 'ArrayIterator::rewind' => ['void'], - 'ArrayIterator::seek' => ['void', 'position'=>'int'], + 'ArrayIterator::seek' => ['void', 'offset'=>'int'], 'ArrayIterator::serialize' => ['string'], - 'ArrayIterator::setFlags' => ['void', 'flags'=>'string'], - 'ArrayIterator::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], - 'ArrayIterator::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], - 'ArrayIterator::unserialize' => ['void', 'serialized'=>'string'], + 'ArrayIterator::setFlags' => ['void', 'flags'=>'int'], + 'ArrayIterator::uasort' => ['true', 'callback'=>'callable(mixed,mixed):int'], + 'ArrayIterator::uksort' => ['true', 'callback'=>'callable(mixed,mixed):int'], + 'ArrayIterator::unserialize' => ['void', 'data'=>'string'], 'ArrayIterator::valid' => ['bool'], - 'ArrayObject::__construct' => ['void', 'input='=>'array|object', 'flags='=>'int', 'iterator_class='=>'string'], + 'ArrayObject::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int', 'iteratorClass='=>'class-string'], 'ArrayObject::append' => ['void', 'value'=>'mixed'], - 'ArrayObject::asort' => ['void'], + 'ArrayObject::asort' => ['true', 'flags='=>'int'], 'ArrayObject::count' => ['int'], - 'ArrayObject::exchangeArray' => ['array', 'ar'=>'mixed'], + 'ArrayObject::exchangeArray' => ['array', 'array'=>'array|object'], 'ArrayObject::getArrayCopy' => ['array'], 'ArrayObject::getFlags' => ['int'], 'ArrayObject::getIterator' => ['ArrayIterator'], 'ArrayObject::getIteratorClass' => ['string'], - 'ArrayObject::ksort' => ['void'], + 'ArrayObject::ksort' => ['true', 'flags='=>'int'], 'ArrayObject::natcasesort' => ['true'], 'ArrayObject::natsort' => ['true'], - 'ArrayObject::offsetExists' => ['bool', 'index'=>'int|string'], - 'ArrayObject::offsetGet' => ['mixed|null', 'index'=>'int|string'], - 'ArrayObject::offsetSet' => ['void', 'index'=>'int|string', 'newval'=>'mixed'], - 'ArrayObject::offsetUnset' => ['void', 'index'=>'int|string'], + 'ArrayObject::offsetExists' => ['bool', 'key'=>'int|string'], + 'ArrayObject::offsetGet' => ['mixed|null', 'key'=>'int|string'], + 'ArrayObject::offsetSet' => ['void', 'key'=>'int|string', 'value'=>'mixed'], + 'ArrayObject::offsetUnset' => ['void', 'key'=>'int|string'], 'ArrayObject::serialize' => ['string'], 'ArrayObject::setFlags' => ['void', 'flags'=>'int'], - 'ArrayObject::setIteratorClass' => ['void', 'iterator_class'=>'string'], - 'ArrayObject::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], - 'ArrayObject::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], - 'ArrayObject::unserialize' => ['void', 'serialized'=>'string'], + 'ArrayObject::setIteratorClass' => ['void', 'iteratorClass'=>'class-string'], + 'ArrayObject::uasort' => ['true', 'callback'=>'callable(mixed,mixed):int'], + 'ArrayObject::uksort' => ['true', 'callback'=>'callable(mixed,mixed):int'], + 'ArrayObject::unserialize' => ['void', 'data'=>'string'], 'BadFunctionCallException::__clone' => ['void'], 'BadFunctionCallException::__construct' => ['void', 'message='=>'string', 'code='=>'int', 'previous='=>'?Throwable'], 'BadFunctionCallException::__toString' => ['string'], @@ -309,14 +309,14 @@ return [ 'CachingIterator::hasNext' => ['bool'], 'CachingIterator::key' => ['int|string|float|bool'], 'CachingIterator::next' => ['void'], - 'CachingIterator::offsetExists' => ['bool', 'index'=>'string'], - 'CachingIterator::offsetGet' => ['mixed', 'index'=>'string'], - 'CachingIterator::offsetSet' => ['void', 'index'=>'string', 'newval'=>'mixed'], - 'CachingIterator::offsetUnset' => ['void', 'index'=>'string'], + 'CachingIterator::offsetExists' => ['bool', 'key'=>'string'], + 'CachingIterator::offsetGet' => ['mixed', 'key'=>'string'], + 'CachingIterator::offsetSet' => ['void', 'key'=>'string', 'value'=>'mixed'], + 'CachingIterator::offsetUnset' => ['void', 'key'=>'string'], 'CachingIterator::rewind' => ['void'], 'CachingIterator::setFlags' => ['void', 'flags'=>'int'], 'CachingIterator::valid' => ['bool'], - 'CallbackFilterIterator::__construct' => ['void', 'iterator'=>'Iterator', 'func'=>'callable(mixed):bool|callable(mixed,mixed):bool|callable(mixed,mixed,mixed):bool'], + 'CallbackFilterIterator::__construct' => ['void', 'iterator'=>'Iterator', 'callback'=>'callable(mixed,mixed=,mixed=):bool'], 'CallbackFilterIterator::accept' => ['bool'], 'CallbackFilterIterator::current' => ['mixed'], 'CallbackFilterIterator::getInnerIterator' => ['Iterator'], @@ -860,14 +860,14 @@ return [ 'Directory::close' => ['void', 'dir_handle='=>'resource'], 'Directory::read' => ['string|false', 'dir_handle='=>'resource'], 'Directory::rewind' => ['void', 'dir_handle='=>'resource'], - 'DirectoryIterator::__construct' => ['void', 'path'=>'string'], + 'DirectoryIterator::__construct' => ['void', 'directory'=>'string'], 'DirectoryIterator::__toString' => ['string'], 'DirectoryIterator::current' => ['DirectoryIterator'], 'DirectoryIterator::getATime' => ['int'], 'DirectoryIterator::getBasename' => ['string', 'suffix='=>'string'], 'DirectoryIterator::getCTime' => ['int'], 'DirectoryIterator::getExtension' => ['string'], - 'DirectoryIterator::getFileInfo' => ['SplFileInfo', 'class_name='=>'string'], + 'DirectoryIterator::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'DirectoryIterator::getFilename' => ['string'], 'DirectoryIterator::getGroup' => ['int'], 'DirectoryIterator::getInode' => ['int'], @@ -875,7 +875,7 @@ return [ 'DirectoryIterator::getMTime' => ['int'], 'DirectoryIterator::getOwner' => ['int'], 'DirectoryIterator::getPath' => ['string'], - 'DirectoryIterator::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'], + 'DirectoryIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'class-string'], 'DirectoryIterator::getPathname' => ['string'], 'DirectoryIterator::getPerms' => ['int'], 'DirectoryIterator::getRealPath' => ['string'], @@ -890,11 +890,11 @@ return [ 'DirectoryIterator::isWritable' => ['bool'], 'DirectoryIterator::key' => ['string'], 'DirectoryIterator::next' => ['void'], - 'DirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], + 'DirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], 'DirectoryIterator::rewind' => ['void'], - 'DirectoryIterator::seek' => ['void', 'position'=>'int'], - 'DirectoryIterator::setFileClass' => ['void', 'class_name='=>'string'], - 'DirectoryIterator::setInfoClass' => ['void', 'class_name='=>'string'], + 'DirectoryIterator::seek' => ['void', 'offset'=>'int'], + 'DirectoryIterator::setFileClass' => ['void', 'class='=>'class-string'], + 'DirectoryIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'DirectoryIterator::valid' => ['bool'], 'DomAttribute::name' => ['string'], 'DomAttribute::set_value' => ['bool', 'content'=>'string'], @@ -1489,14 +1489,14 @@ return [ 'FANNConnection::getToNeuron' => ['int'], 'FANNConnection::getWeight' => ['void'], 'FANNConnection::setWeight' => ['bool', 'weight'=>'float'], - 'FilesystemIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], + 'FilesystemIterator::__construct' => ['void', 'directory'=>'string', 'flags='=>'int'], 'FilesystemIterator::__toString' => ['string'], 'FilesystemIterator::current' => ['SplFileInfo|FilesystemIterator|string'], 'FilesystemIterator::getATime' => ['int'], 'FilesystemIterator::getBasename' => ['string', 'suffix='=>'string'], 'FilesystemIterator::getCTime' => ['int'], 'FilesystemIterator::getExtension' => ['string'], - 'FilesystemIterator::getFileInfo' => ['SplFileInfo', 'class_name='=>'string'], + 'FilesystemIterator::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'FilesystemIterator::getFilename' => ['string'], 'FilesystemIterator::getFlags' => ['int'], 'FilesystemIterator::getGroup' => ['int'], @@ -1505,7 +1505,7 @@ return [ 'FilesystemIterator::getMTime' => ['int'], 'FilesystemIterator::getOwner' => ['int'], 'FilesystemIterator::getPath' => ['string'], - 'FilesystemIterator::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'], + 'FilesystemIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'class-string'], 'FilesystemIterator::getPathname' => ['string'], 'FilesystemIterator::getPerms' => ['int'], 'FilesystemIterator::getRealPath' => ['string'], @@ -1520,12 +1520,12 @@ return [ 'FilesystemIterator::isWritable' => ['bool'], 'FilesystemIterator::key' => ['string'], 'FilesystemIterator::next' => ['void'], - 'FilesystemIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], + 'FilesystemIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], 'FilesystemIterator::rewind' => ['void'], - 'FilesystemIterator::seek' => ['void', 'position'=>'int'], - 'FilesystemIterator::setFileClass' => ['void', 'class_name='=>'string'], - 'FilesystemIterator::setFlags' => ['void', 'flags='=>'int'], - 'FilesystemIterator::setInfoClass' => ['void', 'class_name='=>'string'], + 'FilesystemIterator::seek' => ['void', 'offset'=>'int'], + 'FilesystemIterator::setFileClass' => ['void', 'class='=>'class-string'], + 'FilesystemIterator::setFlags' => ['void', 'flags'=>'int'], + 'FilesystemIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'FilesystemIterator::valid' => ['bool'], 'FilterIterator::__construct' => ['void', 'iterator'=>'Iterator'], 'FilterIterator::accept' => ['bool'], @@ -1747,14 +1747,14 @@ return [ 'Generator::send' => ['mixed', 'value'=>'mixed'], 'Generator::throw' => ['mixed', 'exception'=>'Throwable'], 'Generator::valid' => ['bool'], - 'GlobIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], + 'GlobIterator::__construct' => ['void', 'pattern'=>'string', 'flags='=>'int'], 'GlobIterator::count' => ['int'], 'GlobIterator::current' => ['FilesystemIterator|SplFileInfo|string'], 'GlobIterator::getATime' => ['int'], 'GlobIterator::getBasename' => ['string', 'suffix='=>'string'], 'GlobIterator::getCTime' => ['int'], 'GlobIterator::getExtension' => ['string'], - 'GlobIterator::getFileInfo' => ['SplFileInfo'], + 'GlobIterator::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'GlobIterator::getFilename' => ['string'], 'GlobIterator::getFlags' => ['int'], 'GlobIterator::getGroup' => ['int'], @@ -1763,7 +1763,7 @@ return [ 'GlobIterator::getMTime' => ['int'], 'GlobIterator::getOwner' => ['int'], 'GlobIterator::getPath' => ['string'], - 'GlobIterator::getPathInfo' => ['?SplFileInfo'], + 'GlobIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'class-string'], 'GlobIterator::getPathname' => ['string'], 'GlobIterator::getPerms' => ['int'], 'GlobIterator::getRealPath' => ['string|false'], @@ -1778,12 +1778,12 @@ return [ 'GlobIterator::isWritable' => ['bool'], 'GlobIterator::key' => ['string'], 'GlobIterator::next' => ['void'], - 'GlobIterator::openFile' => ['SplFileObject'], + 'GlobIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], 'GlobIterator::rewind' => ['void'], - 'GlobIterator::seek' => ['void', 'position'=>'int'], - 'GlobIterator::setFileClass' => ['void'], - 'GlobIterator::setFlags' => ['void', 'flags='=>'int'], - 'GlobIterator::setInfoClass' => ['void'], + 'GlobIterator::seek' => ['void', 'offset'=>'int'], + 'GlobIterator::setFileClass' => ['void', 'class='=>'class-string'], + 'GlobIterator::setFlags' => ['void', 'flags'=>'int'], + 'GlobIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'GlobIterator::valid' => ['bool'], 'Gmagick::__construct' => ['void', 'filename='=>'string'], 'Gmagick::addimage' => ['Gmagick', 'gmagick'=>'gmagick'], @@ -4763,7 +4763,7 @@ return [ 'PDOStatement::fetch' => ['mixed', 'how='=>'int', 'orientation='=>'int', 'offset='=>'int'], 'PDOStatement::fetchAll' => ['array|false', 'how='=>'int', 'fetch_argument='=>'int|string|callable', 'ctor_args='=>'?array'], 'PDOStatement::fetchColumn' => ['string|int|float|bool|null', 'column_number='=>'int'], - 'PDOStatement::fetchObject' => ['object|false', 'class='=>'?string', 'constructorArgs='=>'array'], + 'PDOStatement::fetchObject' => ['object|false', 'class='=>'?class-string', 'constructorArgs='=>'array'], 'PDOStatement::getAttribute' => ['mixed', 'name'=>'int'], 'PDOStatement::getColumnMeta' => ['array|false', 'column'=>'int'], 'PDOStatement::nextRowset' => ['bool'], @@ -5131,7 +5131,7 @@ return [ 'RdKafka\TopicPartition::setTopic' => ['void', 'topic_name'=>'string'], 'RecursiveArrayIterator::__construct' => ['void', 'array='=>'array|object', 'flags='=>'int'], 'RecursiveArrayIterator::append' => ['void', 'value'=>'mixed'], - 'RecursiveArrayIterator::asort' => ['void'], + 'RecursiveArrayIterator::asort' => ['true', 'flags='=>'int'], 'RecursiveArrayIterator::count' => ['int'], 'RecursiveArrayIterator::current' => ['mixed'], 'RecursiveArrayIterator::getArrayCopy' => ['array'], @@ -5139,23 +5139,23 @@ return [ 'RecursiveArrayIterator::getFlags' => ['int'], 'RecursiveArrayIterator::hasChildren' => ['bool'], 'RecursiveArrayIterator::key' => ['string|int|null'], - 'RecursiveArrayIterator::ksort' => ['void'], + 'RecursiveArrayIterator::ksort' => ['true', 'flags='=>'int'], 'RecursiveArrayIterator::natcasesort' => ['true'], 'RecursiveArrayIterator::natsort' => ['true'], 'RecursiveArrayIterator::next' => ['void'], - 'RecursiveArrayIterator::offsetExists' => ['void', 'index'=>'string'], - 'RecursiveArrayIterator::offsetGet' => ['mixed', 'index'=>'string'], - 'RecursiveArrayIterator::offsetSet' => ['void', 'index'=>'string', 'newval'=>'string'], - 'RecursiveArrayIterator::offsetUnset' => ['void', 'index'=>'string'], + 'RecursiveArrayIterator::offsetExists' => ['bool', 'key'=>'string|int'], + 'RecursiveArrayIterator::offsetGet' => ['mixed', 'key'=>'string|int'], + 'RecursiveArrayIterator::offsetSet' => ['void', 'key'=>'string|int', 'value'=>'string'], + 'RecursiveArrayIterator::offsetUnset' => ['void', 'key'=>'string|int'], 'RecursiveArrayIterator::rewind' => ['void'], - 'RecursiveArrayIterator::seek' => ['void', 'position'=>'int'], + 'RecursiveArrayIterator::seek' => ['void', 'offset'=>'int'], 'RecursiveArrayIterator::serialize' => ['string'], - 'RecursiveArrayIterator::setFlags' => ['void', 'flags'=>'string'], - 'RecursiveArrayIterator::uasort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], - 'RecursiveArrayIterator::uksort' => ['void', 'cmp_function'=>'callable(mixed,mixed):int'], - 'RecursiveArrayIterator::unserialize' => ['string', 'serialized'=>'string'], + 'RecursiveArrayIterator::setFlags' => ['void', 'flags'=>'int'], + 'RecursiveArrayIterator::uasort' => ['true', 'callback'=>'callable(mixed,mixed):int'], + 'RecursiveArrayIterator::uksort' => ['true', 'callback'=>'callable(mixed,mixed):int'], + 'RecursiveArrayIterator::unserialize' => ['void', 'data'=>'string'], 'RecursiveArrayIterator::valid' => ['bool'], - 'RecursiveCachingIterator::__construct' => ['void', 'it'=>'Iterator', 'flags='=>'int'], + 'RecursiveCachingIterator::__construct' => ['void', 'iterator'=>'Iterator', 'flags='=>'int'], 'RecursiveCachingIterator::__toString' => ['string'], 'RecursiveCachingIterator::count' => ['int'], 'RecursiveCachingIterator::current' => ['void'], @@ -5167,14 +5167,14 @@ return [ 'RecursiveCachingIterator::hasNext' => ['bool'], 'RecursiveCachingIterator::key' => ['bool|float|int|string'], 'RecursiveCachingIterator::next' => ['void'], - 'RecursiveCachingIterator::offsetExists' => ['bool', 'index'=>'string'], - 'RecursiveCachingIterator::offsetGet' => ['string', 'index'=>'string'], - 'RecursiveCachingIterator::offsetSet' => ['void', 'index'=>'string', 'newval'=>'string'], - 'RecursiveCachingIterator::offsetUnset' => ['void', 'index'=>'string'], + 'RecursiveCachingIterator::offsetExists' => ['bool', 'key'=>'string'], + 'RecursiveCachingIterator::offsetGet' => ['string', 'key'=>'string'], + 'RecursiveCachingIterator::offsetSet' => ['void', 'key'=>'string', 'value'=>'string'], + 'RecursiveCachingIterator::offsetUnset' => ['void', 'key'=>'string'], 'RecursiveCachingIterator::rewind' => ['void'], 'RecursiveCachingIterator::setFlags' => ['void', 'flags'=>'int'], 'RecursiveCachingIterator::valid' => ['bool'], - 'RecursiveCallbackFilterIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'func'=>'callable'], + 'RecursiveCallbackFilterIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'callback'=>'callable(mixed,mixed=,mixed=):bool'], 'RecursiveCallbackFilterIterator::accept' => ['bool'], 'RecursiveCallbackFilterIterator::current' => ['mixed'], 'RecursiveCallbackFilterIterator::getChildren' => ['RecursiveCallbackFilterIterator'], @@ -5184,7 +5184,7 @@ return [ 'RecursiveCallbackFilterIterator::next' => ['void'], 'RecursiveCallbackFilterIterator::rewind' => ['void'], 'RecursiveCallbackFilterIterator::valid' => ['bool'], - 'RecursiveDirectoryIterator::__construct' => ['void', 'path'=>'string', 'flags='=>'int'], + 'RecursiveDirectoryIterator::__construct' => ['void', 'directory'=>'string', 'flags='=>'int'], 'RecursiveDirectoryIterator::__toString' => ['string'], 'RecursiveDirectoryIterator::current' => ['string|SplFileInfo|FilesystemIterator'], 'RecursiveDirectoryIterator::getATime' => ['int'], @@ -5192,7 +5192,7 @@ return [ 'RecursiveDirectoryIterator::getCTime' => ['int'], 'RecursiveDirectoryIterator::getChildren' => ['RecursiveDirectoryIterator'], 'RecursiveDirectoryIterator::getExtension' => ['string'], - 'RecursiveDirectoryIterator::getFileInfo' => ['SplFileInfo', 'class_name='=>'string'], + 'RecursiveDirectoryIterator::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'RecursiveDirectoryIterator::getFilename' => ['string'], 'RecursiveDirectoryIterator::getFlags' => ['int'], 'RecursiveDirectoryIterator::getGroup' => ['int'], @@ -5201,7 +5201,7 @@ return [ 'RecursiveDirectoryIterator::getMTime' => ['int'], 'RecursiveDirectoryIterator::getOwner' => ['int'], 'RecursiveDirectoryIterator::getPath' => ['string'], - 'RecursiveDirectoryIterator::getPathInfo' => ['SplFileInfo', 'class_name='=>'string'], + 'RecursiveDirectoryIterator::getPathInfo' => ['?SplFileInfo', 'class='=>'class-string'], 'RecursiveDirectoryIterator::getPathname' => ['string'], 'RecursiveDirectoryIterator::getPerms' => ['int'], 'RecursiveDirectoryIterator::getRealPath' => ['string'], @@ -5209,7 +5209,7 @@ return [ 'RecursiveDirectoryIterator::getSubPath' => ['string'], 'RecursiveDirectoryIterator::getSubPathname' => ['string'], 'RecursiveDirectoryIterator::getType' => ['string'], - 'RecursiveDirectoryIterator::hasChildren' => ['bool', 'allow_links='=>'bool'], + 'RecursiveDirectoryIterator::hasChildren' => ['bool', 'allowLinks='=>'bool'], 'RecursiveDirectoryIterator::isDir' => ['bool'], 'RecursiveDirectoryIterator::isDot' => ['bool'], 'RecursiveDirectoryIterator::isExecutable' => ['bool'], @@ -5219,12 +5219,12 @@ return [ 'RecursiveDirectoryIterator::isWritable' => ['bool'], 'RecursiveDirectoryIterator::key' => ['string'], 'RecursiveDirectoryIterator::next' => ['void'], - 'RecursiveDirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'use_include_path='=>'bool', 'context='=>'resource'], + 'RecursiveDirectoryIterator::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], 'RecursiveDirectoryIterator::rewind' => ['void'], - 'RecursiveDirectoryIterator::seek' => ['void', 'position'=>'int'], - 'RecursiveDirectoryIterator::setFileClass' => ['void', 'class_name='=>'string'], - 'RecursiveDirectoryIterator::setFlags' => ['void', 'flags='=>'int'], - 'RecursiveDirectoryIterator::setInfoClass' => ['void', 'class_name='=>'string'], + 'RecursiveDirectoryIterator::seek' => ['void', 'offset'=>'int'], + 'RecursiveDirectoryIterator::setFileClass' => ['void', 'class='=>'class-string'], + 'RecursiveDirectoryIterator::setFlags' => ['void', 'flags'=>'int'], + 'RecursiveDirectoryIterator::setInfoClass' => ['void', 'class='=>'class-string'], 'RecursiveDirectoryIterator::valid' => ['bool'], 'RecursiveFilterIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator'], 'RecursiveFilterIterator::accept' => ['bool'], @@ -5260,9 +5260,9 @@ return [ 'RecursiveIteratorIterator::next' => ['void'], 'RecursiveIteratorIterator::nextElement' => ['void'], 'RecursiveIteratorIterator::rewind' => ['void'], - 'RecursiveIteratorIterator::setMaxDepth' => ['void', 'max_depth='=>'int'], + 'RecursiveIteratorIterator::setMaxDepth' => ['void', 'maxDepth='=>'int'], 'RecursiveIteratorIterator::valid' => ['bool'], - 'RecursiveRegexIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'regex'=>'string', 'mode='=>'int', 'flags='=>'int', 'preg_flags='=>'int'], + 'RecursiveRegexIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator', 'pattern'=>'string', 'mode='=>'int', 'flags='=>'int', 'pregFlags='=>'int'], 'RecursiveRegexIterator::accept' => ['bool'], 'RecursiveRegexIterator::current' => ['mixed'], 'RecursiveRegexIterator::getChildren' => ['RecursiveRegexIterator'], @@ -5275,11 +5275,11 @@ return [ 'RecursiveRegexIterator::key' => ['mixed'], 'RecursiveRegexIterator::next' => ['void'], 'RecursiveRegexIterator::rewind' => ['void'], - 'RecursiveRegexIterator::setFlags' => ['void', 'new_flags'=>'int'], - 'RecursiveRegexIterator::setMode' => ['void', 'new_mode'=>'int'], - 'RecursiveRegexIterator::setPregFlags' => ['void', 'new_flags'=>'int'], + 'RecursiveRegexIterator::setFlags' => ['void', 'flags'=>'int'], + 'RecursiveRegexIterator::setMode' => ['void', 'mode'=>'int'], + 'RecursiveRegexIterator::setPregFlags' => ['void', 'pregFlags'=>'int'], 'RecursiveRegexIterator::valid' => ['bool'], - 'RecursiveTreeIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator|IteratorAggregate', 'flags='=>'int', 'cit_flags='=>'int', 'mode'=>'int'], + 'RecursiveTreeIterator::__construct' => ['void', 'iterator'=>'RecursiveIterator|IteratorAggregate', 'flags='=>'int', 'cachingIteratorFlags='=>'int', 'mode='=>'int'], 'RecursiveTreeIterator::beginChildren' => ['void'], 'RecursiveTreeIterator::beginIteration' => ['void'], 'RecursiveTreeIterator::callGetChildren' => ['?RecursiveIterator'], @@ -5298,9 +5298,9 @@ return [ 'RecursiveTreeIterator::next' => ['void'], 'RecursiveTreeIterator::nextElement' => ['void'], 'RecursiveTreeIterator::rewind' => ['void'], - 'RecursiveTreeIterator::setMaxDepth' => ['void', 'max_depth='=>'int'], - 'RecursiveTreeIterator::setPostfix' => ['void', 'prefix'=>'string'], - 'RecursiveTreeIterator::setPrefixPart' => ['void', 'part'=>'int', 'prefix'=>'string'], + 'RecursiveTreeIterator::setMaxDepth' => ['void', 'maxDepth='=>'int'], + 'RecursiveTreeIterator::setPostfix' => ['void', 'postfix'=>'string'], + 'RecursiveTreeIterator::setPrefixPart' => ['void', 'part'=>'int', 'value'=>'string'], 'RecursiveTreeIterator::valid' => ['bool'], 'Redis::__construct' => ['void'], 'Redis::__destruct' => ['void'], @@ -6061,7 +6061,7 @@ return [ 'ReflectionZendExtension::getVersion' => ['string'], 'Reflector::__toString' => ['string'], 'Reflector::export' => ['?string'], - 'RegexIterator::__construct' => ['void', 'iterator'=>'Iterator', 'regex'=>'string', 'mode='=>'int', 'flags='=>'int', 'preg_flags='=>'int'], + 'RegexIterator::__construct' => ['void', 'iterator'=>'Iterator', 'pattern'=>'string', 'mode='=>'int', 'flags='=>'int', 'pregFlags='=>'int'], 'RegexIterator::accept' => ['bool'], 'RegexIterator::current' => ['mixed'], 'RegexIterator::getFlags' => ['int'], @@ -6072,9 +6072,9 @@ return [ 'RegexIterator::key' => ['mixed'], 'RegexIterator::next' => ['void'], 'RegexIterator::rewind' => ['void'], - 'RegexIterator::setFlags' => ['void', 'new_flags'=>'int'], - 'RegexIterator::setMode' => ['void', 'new_mode'=>'int'], - 'RegexIterator::setPregFlags' => ['void', 'new_flags'=>'int'], + 'RegexIterator::setFlags' => ['void', 'flags'=>'int'], + 'RegexIterator::setMode' => ['void', 'mode'=>'int'], + 'RegexIterator::setPregFlags' => ['void', 'pregFlags'=>'int'], 'RegexIterator::valid' => ['bool'], 'ResourceBundle::__construct' => ['void', 'locale'=>'string', 'bundlename'=>'string', 'fallback='=>'bool'], 'ResourceBundle::count' => ['int'], @@ -7488,7 +7488,7 @@ return [ 'SphinxClient::status' => ['array'], 'SphinxClient::updateAttributes' => ['int', 'index'=>'string', 'attributes'=>'array', 'values'=>'array', 'mva='=>'bool'], 'SplDoublyLinkedList::__construct' => ['void'], - 'SplDoublyLinkedList::add' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], + 'SplDoublyLinkedList::add' => ['void', 'index'=>'int', 'value'=>'mixed'], 'SplDoublyLinkedList::bottom' => ['mixed'], 'SplDoublyLinkedList::count' => ['int'], 'SplDoublyLinkedList::current' => ['mixed'], @@ -7498,17 +7498,17 @@ return [ 'SplDoublyLinkedList::next' => ['void'], 'SplDoublyLinkedList::offsetExists' => ['bool', 'index'=>'mixed'], 'SplDoublyLinkedList::offsetGet' => ['mixed', 'index'=>'mixed'], - 'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], + 'SplDoublyLinkedList::offsetSet' => ['void', 'index'=>'mixed', 'value'=>'mixed'], 'SplDoublyLinkedList::offsetUnset' => ['void', 'index'=>'mixed'], 'SplDoublyLinkedList::pop' => ['mixed'], 'SplDoublyLinkedList::prev' => ['void'], 'SplDoublyLinkedList::push' => ['void', 'value'=>'mixed'], 'SplDoublyLinkedList::rewind' => ['void'], 'SplDoublyLinkedList::serialize' => ['string'], - 'SplDoublyLinkedList::setIteratorMode' => ['void', 'flags'=>'int'], + 'SplDoublyLinkedList::setIteratorMode' => ['int', 'mode'=>'int'], 'SplDoublyLinkedList::shift' => ['mixed'], 'SplDoublyLinkedList::top' => ['mixed'], - 'SplDoublyLinkedList::unserialize' => ['void', 'serialized'=>'string'], + 'SplDoublyLinkedList::unserialize' => ['void', 'data'=>'string'], 'SplDoublyLinkedList::unshift' => ['void', 'value'=>'mixed'], 'SplDoublyLinkedList::valid' => ['bool'], 'SplEnum::__construct' => ['void', 'initial_value='=>'mixed', 'strict='=>'bool'], @@ -7520,7 +7520,7 @@ return [ 'SplFileInfo::getBasename' => ['string', 'suffix='=>'string'], 'SplFileInfo::getCTime' => ['int|false'], 'SplFileInfo::getExtension' => ['string'], - 'SplFileInfo::getFileInfo' => ['SplFileInfo', 'class='=>'string'], + 'SplFileInfo::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'SplFileInfo::getFilename' => ['string'], 'SplFileInfo::getGroup' => ['int|false'], 'SplFileInfo::getInode' => ['int|false'], @@ -7528,7 +7528,7 @@ return [ 'SplFileInfo::getMTime' => ['int|false'], 'SplFileInfo::getOwner' => ['int|false'], 'SplFileInfo::getPath' => ['string'], - 'SplFileInfo::getPathInfo' => ['SplFileInfo|null', 'class='=>'string'], + 'SplFileInfo::getPathInfo' => ['SplFileInfo|null', 'class='=>'class-string'], 'SplFileInfo::getPathname' => ['string'], 'SplFileInfo::getPerms' => ['int|false'], 'SplFileInfo::getRealPath' => ['string|false'], @@ -7541,8 +7541,8 @@ return [ 'SplFileInfo::isReadable' => ['bool'], 'SplFileInfo::isWritable' => ['bool'], 'SplFileInfo::openFile' => ['SplFileObject', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'resource'], - 'SplFileInfo::setFileClass' => ['void', 'class='=>'string'], - 'SplFileInfo::setInfoClass' => ['void', 'class='=>'string'], + 'SplFileInfo::setFileClass' => ['void', 'class='=>'class-string'], + 'SplFileInfo::setInfoClass' => ['void', 'class='=>'class-string'], 'SplFileObject::__construct' => ['void', 'filename'=>'string', 'mode='=>'string', 'useIncludePath='=>'bool', 'context='=>'?resource'], 'SplFileObject::__toString' => ['string'], 'SplFileObject::current' => ['string|array|false'], @@ -7569,7 +7569,7 @@ return [ 'SplFileObject::getCsvControl' => ['array'], 'SplFileObject::getCurrentLine' => ['string|false'], 'SplFileObject::getExtension' => ['string'], - 'SplFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'string'], + 'SplFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'SplFileObject::getFilename' => ['string'], 'SplFileObject::getFlags' => ['int'], 'SplFileObject::getGroup' => ['int|false'], @@ -7579,7 +7579,7 @@ return [ 'SplFileObject::getMTime' => ['int|false'], 'SplFileObject::getOwner' => ['int|false'], 'SplFileObject::getPath' => ['string'], - 'SplFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'string'], + 'SplFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'class-string'], 'SplFileObject::getPathname' => ['string'], 'SplFileObject::getPerms' => ['int|false'], 'SplFileObject::getRealPath' => ['false|string'], @@ -7598,22 +7598,22 @@ return [ 'SplFileObject::rewind' => ['void'], 'SplFileObject::seek' => ['void', 'line'=>'int'], 'SplFileObject::setCsvControl' => ['void', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'], - 'SplFileObject::setFileClass' => ['void', 'class='=>'string'], + 'SplFileObject::setFileClass' => ['void', 'class='=>'class-string'], 'SplFileObject::setFlags' => ['void', 'flags'=>'int'], - 'SplFileObject::setInfoClass' => ['void', 'class='=>'string'], + 'SplFileObject::setInfoClass' => ['void', 'class='=>'class-string'], 'SplFileObject::setMaxLineLen' => ['void', 'maxLength'=>'int'], 'SplFileObject::valid' => ['bool'], 'SplFixedArray::__construct' => ['void', 'size='=>'int'], 'SplFixedArray::__wakeup' => ['void'], 'SplFixedArray::count' => ['int'], 'SplFixedArray::current' => ['mixed'], - 'SplFixedArray::fromArray' => ['SplFixedArray', 'data'=>'array', 'save_indexes='=>'bool'], + 'SplFixedArray::fromArray' => ['SplFixedArray', 'array'=>'array', 'preserveKeys='=>'bool'], 'SplFixedArray::getSize' => ['int'], 'SplFixedArray::key' => ['int'], 'SplFixedArray::next' => ['void'], 'SplFixedArray::offsetExists' => ['bool', 'index'=>'int'], 'SplFixedArray::offsetGet' => ['mixed', 'index'=>'int'], - 'SplFixedArray::offsetSet' => ['void', 'index'=>'int', 'newval'=>'mixed'], + 'SplFixedArray::offsetSet' => ['void', 'index'=>'int', 'value'=>'mixed'], 'SplFixedArray::offsetUnset' => ['void', 'index'=>'int'], 'SplFixedArray::rewind' => ['void'], 'SplFixedArray::setSize' => ['bool', 'size'=>'int'], @@ -7634,8 +7634,8 @@ return [ 'SplHeap::top' => ['mixed'], 'SplHeap::valid' => ['bool'], 'SplMaxHeap::__construct' => ['void'], - 'SplMaxHeap::compare' => ['int', 'a'=>'mixed', 'b'=>'mixed'], - 'SplMinHeap::compare' => ['int', 'a'=>'mixed', 'b'=>'mixed'], + 'SplMaxHeap::compare' => ['int', 'value1'=>'mixed', 'value2'=>'mixed'], + 'SplMinHeap::compare' => ['int', 'value1'=>'mixed', 'value2'=>'mixed'], 'SplMinHeap::count' => ['int'], 'SplMinHeap::current' => ['mixed'], 'SplMinHeap::extract' => ['mixed'], @@ -7649,10 +7649,10 @@ return [ 'SplMinHeap::top' => ['mixed'], 'SplMinHeap::valid' => ['bool'], 'SplObjectStorage::__construct' => ['void'], - 'SplObjectStorage::addAll' => ['void', 'os'=>'splobjectstorage'], - 'SplObjectStorage::attach' => ['void', 'object'=>'object', 'inf='=>'mixed'], + 'SplObjectStorage::addAll' => ['int', 'storage'=>'SplObjectStorage'], + 'SplObjectStorage::attach' => ['void', 'object'=>'object', 'info='=>'mixed'], 'SplObjectStorage::contains' => ['bool', 'object'=>'object'], - 'SplObjectStorage::count' => ['int'], + 'SplObjectStorage::count' => ['int', 'mode='=>'int'], 'SplObjectStorage::current' => ['object'], 'SplObjectStorage::detach' => ['void', 'object'=>'object'], 'SplObjectStorage::getHash' => ['string', 'object'=>'object'], @@ -7661,18 +7661,18 @@ return [ 'SplObjectStorage::next' => ['void'], 'SplObjectStorage::offsetExists' => ['bool', 'object'=>'object'], 'SplObjectStorage::offsetGet' => ['mixed', 'object'=>'object'], - 'SplObjectStorage::offsetSet' => ['object', 'object'=>'object', 'data='=>'mixed'], + 'SplObjectStorage::offsetSet' => ['void', 'object'=>'object', 'info='=>'mixed'], 'SplObjectStorage::offsetUnset' => ['void', 'object'=>'object'], - 'SplObjectStorage::removeAll' => ['void', 'os'=>'splobjectstorage'], - 'SplObjectStorage::removeAllExcept' => ['void', 'os'=>'splobjectstorage'], + 'SplObjectStorage::removeAll' => ['int', 'storage'=>'SplObjectStorage'], + 'SplObjectStorage::removeAllExcept' => ['int', 'storage'=>'SplObjectStorage'], 'SplObjectStorage::rewind' => ['void'], 'SplObjectStorage::serialize' => ['string'], - 'SplObjectStorage::setInfo' => ['void', 'inf'=>'mixed'], - 'SplObjectStorage::unserialize' => ['void', 'serialized'=>'string'], + 'SplObjectStorage::setInfo' => ['void', 'info'=>'mixed'], + 'SplObjectStorage::unserialize' => ['void', 'data'=>'string'], 'SplObjectStorage::valid' => ['bool'], 'SplObserver::update' => ['void', 'subject'=>'SplSubject'], 'SplPriorityQueue::__construct' => ['void'], - 'SplPriorityQueue::compare' => ['int', 'a'=>'mixed', 'b'=>'mixed'], + 'SplPriorityQueue::compare' => ['int', 'priority1'=>'mixed', 'priority2'=>'mixed'], 'SplPriorityQueue::count' => ['int'], 'SplPriorityQueue::current' => ['mixed'], 'SplPriorityQueue::extract' => ['mixed'], @@ -7694,7 +7694,7 @@ return [ 'SplQueue::next' => ['void'], 'SplQueue::offsetExists' => ['bool', 'index'=>'mixed'], 'SplQueue::offsetGet' => ['mixed', 'index'=>'mixed'], - 'SplQueue::offsetSet' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], + 'SplQueue::offsetSet' => ['void', 'index'=>'?int', 'value'=>'mixed'], 'SplQueue::offsetUnset' => ['void', 'index'=>'mixed'], 'SplQueue::pop' => ['mixed'], 'SplQueue::prev' => ['void'], @@ -7704,11 +7704,11 @@ return [ 'SplQueue::setIteratorMode' => ['int', 'mode'=>'int'], 'SplQueue::shift' => ['mixed'], 'SplQueue::top' => ['mixed'], - 'SplQueue::unserialize' => ['void', 'serialized'=>'string'], + 'SplQueue::unserialize' => ['void', 'data'=>'string'], 'SplQueue::unshift' => ['void', 'value'=>'mixed'], 'SplQueue::valid' => ['bool'], 'SplStack::__construct' => ['void'], - 'SplStack::add' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], + 'SplStack::add' => ['void', 'index'=>'int', 'value'=>'mixed'], 'SplStack::bottom' => ['mixed'], 'SplStack::count' => ['int'], 'SplStack::current' => ['mixed'], @@ -7718,7 +7718,7 @@ return [ 'SplStack::next' => ['void'], 'SplStack::offsetExists' => ['bool', 'index'=>'mixed'], 'SplStack::offsetGet' => ['mixed', 'index'=>'mixed'], - 'SplStack::offsetSet' => ['void', 'index'=>'mixed', 'newval'=>'mixed'], + 'SplStack::offsetSet' => ['void', 'index'=>'?int', 'value'=>'mixed'], 'SplStack::offsetUnset' => ['void', 'index'=>'mixed'], 'SplStack::pop' => ['mixed'], 'SplStack::prev' => ['void'], @@ -7728,7 +7728,7 @@ return [ 'SplStack::setIteratorMode' => ['int', 'mode'=>'int'], 'SplStack::shift' => ['mixed'], 'SplStack::top' => ['mixed'], - 'SplStack::unserialize' => ['void', 'serialized'=>'string'], + 'SplStack::unserialize' => ['void', 'data'=>'string'], 'SplStack::unshift' => ['void', 'value'=>'mixed'], 'SplStack::valid' => ['bool'], 'SplSubject::attach' => ['void', 'observer'=>'SplObserver'], @@ -7760,7 +7760,7 @@ return [ 'SplTempFileObject::getCsvControl' => ['array'], 'SplTempFileObject::getCurrentLine' => ['string'], 'SplTempFileObject::getExtension' => ['string'], - 'SplTempFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'string'], + 'SplTempFileObject::getFileInfo' => ['SplFileInfo', 'class='=>'class-string'], 'SplTempFileObject::getFilename' => ['string'], 'SplTempFileObject::getFlags' => ['int'], 'SplTempFileObject::getGroup' => ['int|false'], @@ -7770,7 +7770,7 @@ return [ 'SplTempFileObject::getMTime' => ['int|false'], 'SplTempFileObject::getOwner' => ['int|false'], 'SplTempFileObject::getPath' => ['string'], - 'SplTempFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'string'], + 'SplTempFileObject::getPathInfo' => ['SplFileInfo|null', 'class='=>'class-string'], 'SplTempFileObject::getPathname' => ['string'], 'SplTempFileObject::getPerms' => ['int|false'], 'SplTempFileObject::getRealPath' => ['false|string'], @@ -7789,9 +7789,9 @@ return [ 'SplTempFileObject::rewind' => ['void'], 'SplTempFileObject::seek' => ['void', 'line'=>'int'], 'SplTempFileObject::setCsvControl' => ['void', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'], - 'SplTempFileObject::setFileClass' => ['void', 'class='=>'string'], + 'SplTempFileObject::setFileClass' => ['void', 'class='=>'class-string'], 'SplTempFileObject::setFlags' => ['void', 'flags'=>'int'], - 'SplTempFileObject::setInfoClass' => ['void', 'class='=>'string'], + 'SplTempFileObject::setInfoClass' => ['void', 'class='=>'class-string'], 'SplTempFileObject::setMaxLineLen' => ['void', 'maxLength'=>'int'], 'SplTempFileObject::valid' => ['bool'], 'SplType::__construct' => ['void', 'initial_value='=>'mixed', 'strict='=>'bool'], @@ -12801,7 +12801,7 @@ return [ 'mysqli_fetch_field_direct' => ['object|false', 'result'=>'mysqli_result', 'index'=>'int'], 'mysqli_fetch_fields' => ['stdClass[]', 'result'=>'mysqli_result'], 'mysqli_fetch_lengths' => ['array|false', 'result'=>'mysqli_result'], - 'mysqli_fetch_object' => ['object|false|null', 'result'=>'mysqli_result', 'class='=>'class-string', 'constructor_args='=>'array'], + 'mysqli_fetch_object' => ['object|false|null', 'result'=>'mysqli_result', 'class='=>'string', 'constructor_args='=>'array'], 'mysqli_fetch_row' => ['list|false|null', 'result'=>'mysqli_result'], 'mysqli_field_count' => ['int', 'mysql'=>'mysqli'], 'mysqli_field_seek' => ['bool', 'result'=>'mysqli_result', 'index'=>'int'], @@ -12855,7 +12855,7 @@ return [ 'mysqli_result::fetch_field' => ['object|false'], 'mysqli_result::fetch_field_direct' => ['object|false', 'index'=>'int'], 'mysqli_result::fetch_fields' => ['stdClass[]'], - 'mysqli_result::fetch_object' => ['object|false|null', 'class='=>'class-string', 'constructor_args='=>'array'], + 'mysqli_result::fetch_object' => ['object|false|null', 'class='=>'string', 'constructor_args='=>'array'], 'mysqli_result::fetch_row' => ['list|false|null'], 'mysqli_result::field_seek' => ['bool', 'index'=>'int'], 'mysqli_result::free' => ['void'], @@ -15284,7 +15284,7 @@ return [ 'uopz_get_hook\'1' => ['?Closure', 'function'=>'string'], 'uopz_get_mock' => ['string|object|null', 'class'=>'string'], 'uopz_get_property' => ['mixed', 'class'=>'object|string', 'property'=>'string'], - 'uopz_get_return' => ['mixed', 'class='=>'string', 'function='=>'string'], + 'uopz_get_return' => ['mixed', 'class='=>'class-string', 'function='=>'string'], 'uopz_get_static' => ['?array', 'class'=>'string', 'function'=>'string'], 'uopz_implement' => ['bool', 'class'=>'string', 'interface'=>'string'], 'uopz_overload' => ['void', 'opcode'=>'int', 'callable'=>'Callable'], @@ -15306,7 +15306,7 @@ return [ 'uopz_unset_hook' => ['bool', 'class'=>'string', 'function'=>'string'], 'uopz_unset_hook\'1' => ['bool', 'function'=>'string'], 'uopz_unset_mock' => ['void', 'class'=>'string'], - 'uopz_unset_return' => ['bool', 'class='=>'string', 'function='=>'string'], + 'uopz_unset_return' => ['bool', 'class='=>'class-string', 'function='=>'string'], 'uopz_unset_return\'1' => ['bool', 'function'=>'string'], 'urldecode' => ['string', 'string'=>'string'], 'urlencode' => ['string', 'string'=>'string'], diff --git a/tests/Internal/Codebase/InternalCallMapHandlerTest.php b/tests/Internal/Codebase/InternalCallMapHandlerTest.php index 61be82d0d..f4fe5acb5 100644 --- a/tests/Internal/Codebase/InternalCallMapHandlerTest.php +++ b/tests/Internal/Codebase/InternalCallMapHandlerTest.php @@ -73,34 +73,6 @@ class InternalCallMapHandlerTest extends TestCase */ private static array $ignoredFunctions = [ 'array_multisort', - 'arrayiterator::asort', - 'arrayiterator::ksort', - 'arrayiterator::offsetexists', - 'arrayiterator::offsetget', - 'arrayiterator::offsetset', - 'arrayiterator::offsetunset', - 'arrayiterator::seek', - 'arrayiterator::setflags', - 'arrayiterator::uasort', - 'arrayiterator::uksort', - 'arrayiterator::unserialize', - 'arrayobject::__construct', - 'arrayobject::asort', - 'arrayobject::exchangearray', - 'arrayobject::ksort', - 'arrayobject::offsetexists', - 'arrayobject::offsetget', - 'arrayobject::offsetset', - 'arrayobject::offsetunset', - 'arrayobject::setiteratorclass', - 'arrayobject::uasort', - 'arrayobject::uksort', - 'arrayobject::unserialize', - 'cachingiterator::offsetexists', - 'cachingiterator::offsetget', - 'cachingiterator::offsetset', - 'cachingiterator::offsetunset', - 'callbackfilteriterator::__construct', 'collator::asort', 'collator::getattribute', 'collator::setattribute', @@ -120,13 +92,6 @@ class InternalCallMapHandlerTest extends TestCase 'datetime::settime', 'datetime::settimestamp', 'datetimezone::gettransitions', - 'directoryiterator::__construct', - 'directoryiterator::getfileinfo', - 'directoryiterator::getpathinfo', - 'directoryiterator::openfile', - 'directoryiterator::seek', - 'directoryiterator::setfileclass', - 'directoryiterator::setinfoclass', 'domattr::insertbefore', 'domattr::isdefaultnamespace', 'domattr::issamenode', @@ -184,22 +149,6 @@ class InternalCallMapHandlerTest extends TestCase 'domxpath::registerphpfunctions', 'easter_date', 'fiber::start', - 'filesystemiterator::__construct', - 'filesystemiterator::getfileinfo', - 'filesystemiterator::getpathinfo', - 'filesystemiterator::openfile', - 'filesystemiterator::seek', - 'filesystemiterator::setfileclass', - 'filesystemiterator::setflags', - 'filesystemiterator::setinfoclass', - 'globiterator::__construct', - 'globiterator::getfileinfo', - 'globiterator::getpathinfo', - 'globiterator::openfile', - 'globiterator::seek', - 'globiterator::setfileclass', - 'globiterator::setflags', - 'globiterator::setinfoclass', 'gnupg::adddecryptkey', 'gnupg::addencryptkey', 'gnupg::addsignkey', @@ -443,42 +392,7 @@ class InternalCallMapHandlerTest extends TestCase 'odbc_procedures', 'odbc_result', 'openssl_pkcs7_read', - 'recursivearrayiterator::asort', - 'recursivearrayiterator::ksort', - 'recursivearrayiterator::offsetexists', - 'recursivearrayiterator::offsetget', - 'recursivearrayiterator::offsetset', - 'recursivearrayiterator::offsetunset', - 'recursivearrayiterator::seek', - 'recursivearrayiterator::setflags', - 'recursivearrayiterator::uasort', - 'recursivearrayiterator::uksort', - 'recursivearrayiterator::unserialize', - 'recursivecachingiterator::__construct', - 'recursivecachingiterator::offsetexists', - 'recursivecachingiterator::offsetget', - 'recursivecachingiterator::offsetset', - 'recursivecachingiterator::offsetunset', - 'recursivecallbackfilteriterator::__construct', - 'recursivedirectoryiterator::__construct', - 'recursivedirectoryiterator::getfileinfo', - 'recursivedirectoryiterator::getpathinfo', - 'recursivedirectoryiterator::haschildren', - 'recursivedirectoryiterator::openfile', - 'recursivedirectoryiterator::seek', - 'recursivedirectoryiterator::setfileclass', - 'recursivedirectoryiterator::setflags', - 'recursivedirectoryiterator::setinfoclass', - 'recursiveiteratoriterator::__construct', - 'recursiveiteratoriterator::setmaxdepth', - 'recursiveregexiterator::__construct', - 'recursiveregexiterator::setflags', - 'recursiveregexiterator::setmode', - 'recursiveregexiterator::setpregflags', - 'recursivetreeiterator::__construct', - 'recursivetreeiterator::setmaxdepth', - 'recursivetreeiterator::setpostfix', - 'recursivetreeiterator::setprefixpart', + 'recursiveiteratoriterator::__construct', // Class used in CallMap does not exist: recursiveiterator 'reflectionclass::__construct', 'reflectionclass::implementsinterface', 'reflectionclassconstant::__construct', @@ -492,10 +406,6 @@ class InternalCallMapHandlerTest extends TestCase 'reflectionparameter::__construct', 'reflectionproperty::__construct', 'reflectionproperty::setaccessible', - 'regexiterator::__construct', - 'regexiterator::setflags', - 'regexiterator::setmode', - 'regexiterator::setpregflags', 'resourcebundle::__construct', 'resourcebundle::create', 'resourcebundle::getlocales', @@ -509,28 +419,6 @@ class InternalCallMapHandlerTest extends TestCase 'simplexmlelement::getdocnamespaces', 'simplexmlelement::registerxpathnamespace', 'simplexmlelement::xpath', - 'spldoublylinkedlist::add', - 'spldoublylinkedlist::offsetset', - 'spldoublylinkedlist::setiteratormode', - 'spldoublylinkedlist::unserialize', - 'splfixedarray::fromarray', - 'splfixedarray::offsetset', - 'splmaxheap::compare', - 'splminheap::compare', - 'splobjectstorage::addall', - 'splobjectstorage::attach', - 'splobjectstorage::count', - 'splobjectstorage::offsetset', - 'splobjectstorage::removeall', - 'splobjectstorage::removeallexcept', - 'splobjectstorage::setinfo', - 'splobjectstorage::unserialize', - 'splpriorityqueue::compare', - 'splqueue::offsetset', - 'splqueue::unserialize', - 'splstack::add', - 'splstack::offsetset', - 'splstack::unserialize', 'sqlite3::__construct', 'sqlite3::open', 'sqlsrv_connect',