1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Add missing ldap_unbind mapping for php 8.1

This commit is contained in:
othercorey 2022-06-19 07:44:53 -05:00 committed by GitHub
parent 00c0c0eaac
commit 9ce57e6c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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