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

Merge pull request #8126 from othercorey/patch-1

Add missing ldap_unbind mapping for php 8.1
This commit is contained in:
orklah 2022-06-20 22:59:17 +02:00 committed by GitHub
commit be4d0ff082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -6829,7 +6829,7 @@ return [
'ldap_set_rebind_proc' => ['bool', 'ldap'=>'LDAP\Connection', 'callback'=>'?callable'],
'ldap_start_tls' => ['bool', 'ldap'=>'resource'],
'ldap_t61_to_8859' => ['string', 'value'=>'string'],
'ldap_unbind' => ['bool', 'ldap'=>'resource'],
'ldap_unbind' => ['bool', 'ldap'=>'LDAP\Connection'],
'leak' => ['', 'num_bytes'=>'int'],
'leak_variable' => ['', 'variable'=>'', 'leak_data'=>'bool'],
'legendObj::convertToString' => ['string'],

View File

@ -639,6 +639,10 @@ return [
'old' => ['bool', 'ldap'=>'resource', 'callback'=>'?callable'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'callback'=>'?callable'],
],
'ldap_unbind' => [
'old' => ['bool', 'ldap'=>'resource'],
'new' => ['bool', 'ldap'=>'LDAP\Connection'],
],
'mysqli::connect' => [
'old' => ['null|false', 'hostname='=>'string|null', 'username='=>'string|null', 'password='=>'string|null', 'database='=>'string|null', 'port='=>'int|null', 'socket='=>'string|null'],
'new' => ['bool', 'hostname='=>'string|null', 'username='=>'string|null', 'password='=>'string|null', 'database='=>'string|null', 'port='=>'int|null', 'socket='=>'string|null'],