From 676e120b49644e400cdc39cfd11a0448a3e5b0e0 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Fri, 9 Dec 2022 10:07:59 +0100 Subject: [PATCH] Add missing ZipArchive method to CallMap (PHP 8.2) --- dictionaries/CallMap.php | 3 +++ dictionaries/CallMap_82_delta.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index cf359e7f006..cf9c9f11325 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -16757,6 +16757,7 @@ 'ZipArchive::addFromString' => ['bool', 'entryname'=>'string', 'content'=>'string'], 'ZipArchive::addGlob' => ['bool', 'pattern'=>'string', 'flags='=>'int', 'options='=>'array'], 'ZipArchive::addPattern' => ['bool', 'pattern'=>'string', 'path='=>'string', 'options='=>'array'], +'ZipArchive::clearError' => ['void'], 'ZipArchive::close' => ['bool'], 'ZipArchive::count' => ['int'], 'ZipArchive::createEmptyDir' => ['bool', 'dirname'=>'string'], @@ -16773,6 +16774,8 @@ 'ZipArchive::getNameIndex' => ['string|false', 'index'=>'int', 'flags='=>'int'], 'ZipArchive::getStatusString' => ['string|false'], 'ZipArchive::getStream' => ['resource|false', 'entryname'=>'string'], +'ZipArchive::getStreamIndex' => ['resource|false', 'index'=>'int', 'flags='=>'int'], +'ZipArchive::getStreamName' => ['resource|false', 'name'=>'string', 'flags='=>'int'], 'ZipArchive::isCompressionMethodSupported' => ['bool', 'method'=>'int', 'encode='=>'bool'], 'ZipArchive::isEncryptionMethodSupported' => ['bool', 'method'=>'int', 'encode='=>'bool'], 'ZipArchive::locateName' => ['int|false', 'filename'=>'string', 'flags='=>'int'], diff --git a/dictionaries/CallMap_82_delta.php b/dictionaries/CallMap_82_delta.php index 6d26c55ed1a..b7086136231 100644 --- a/dictionaries/CallMap_82_delta.php +++ b/dictionaries/CallMap_82_delta.php @@ -22,6 +22,9 @@ 'curl_upkeep' => ['bool', 'handle'=>'CurlHandle'], 'ini_parse_quantity' => ['int', 'shorthand'=>'non-empty-string'], 'memory_reset_peak_usage' => ['void'], + 'ZipArchive::clearError' => ['void'], + 'ZipArchive::getStreamIndex' => ['resource|false', 'index'=>'int', 'flags='=>'int'], + 'ZipArchive::getStreamName' => ['resource|false', 'name'=>'string', 'flags='=>'int'], ], 'changed' => [