1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Add libxml_get_external_entity_loader to CallMap (PHP 8.2)

https://www.php.net/manual/en/function.libxml-get-external-entity-loader.php
This commit is contained in:
Alies Lapatsin 2022-12-09 11:35:30 +01:00
parent 14d48a0dde
commit 1cbf45025c
3 changed files with 4 additions and 2 deletions

View File

@ -6865,7 +6865,8 @@ return [
'libxml_disable_entity_loader' => ['bool', 'disable='=>'bool'],
'libxml_get_errors' => ['array<int,LibXMLError>'],
'libxml_get_last_error' => ['LibXMLError|false'],
'libxml_set_external_entity_loader' => ['bool', 'resolver_function'=>'callable'],
'libxml_get_external_entity_loader' => ['(callable(string,string,array):(resource|string|null))|null'],
'libxml_set_external_entity_loader' => ['bool', 'resolver_function'=>'(callable(string,string,array):(resource|string|null))|null'],
'libxml_set_streams_context' => ['void', 'context'=>'resource'],
'libxml_use_internal_errors' => ['bool', 'use_errors='=>'bool'],
'LimitIterator::__construct' => ['void', 'iterator'=>'Iterator', 'offset='=>'int', 'count='=>'int'],

View File

@ -21,6 +21,7 @@ return [
'openssl_cipher_key_length' => ['positive-int|false', 'cipher_algo'=>'non-empty-string'],
'curl_upkeep' => ['bool', 'handle'=>'CurlHandle'],
'ini_parse_quantity' => ['int', 'shorthand'=>'non-empty-string'],
'libxml_get_external_entity_loader' => ['(callable(string,string,array):(resource|string|null))|null'],
'memory_reset_peak_usage' => ['void'],
],

View File

@ -12626,7 +12626,7 @@ return [
'libxml_disable_entity_loader' => ['bool', 'disable='=>'bool'],
'libxml_get_errors' => ['array<int,LibXMLError>'],
'libxml_get_last_error' => ['LibXMLError|false'],
'libxml_set_external_entity_loader' => ['bool', 'resolver_function'=>'callable'],
'libxml_set_external_entity_loader' => ['bool', 'resolver_function'=>'(callable(string,string,array):resource|string|null)|null'],
'libxml_set_streams_context' => ['void', 'context'=>'resource'],
'libxml_use_internal_errors' => ['bool', 'use_errors='=>'bool'],
'lineObj::__construct' => ['void'],