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

Update mysqli property maps (#3114)

From ca92e03c12/src/Phan/Language/Internal/PropertyMap.php
This commit is contained in:
Mikko Pesari 2020-04-09 15:14:09 +03:00 committed by GitHub
parent 28f740fddb
commit 184be78405
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,14 +216,6 @@ return [
'normalizer' => [
'name' => 'string',
],
'mysqli-driver' => [
'client-info' => 'string',
'client-version' => 'string',
'driver-version' => 'string',
'embedded' => 'string',
'reconnect' => 'bool',
'report-mode' => 'int',
],
'norewinditerator' => [
'name' => 'string',
],
@ -256,6 +248,62 @@ return [
'mongoint64' => [
'value' => 'string',
],
'mysqli' => [
'affected_rows' => 'int',
'client_info' => 'string',
'client_version' => 'int',
'connect_errno' => 'int',
'connect_error' => 'string',
'errno' => 'int',
'error' => 'string',
'error_list' => 'array',
'field_count' => 'int',
'host_info' => 'string',
'info' => 'string',
'insert_id' => 'mixed',
'protocol_version' => 'string',
'server_info' => 'string',
'server_version' => 'int',
'sqlstate' => 'string',
'stat' => 'mixed',
'thread_id' => 'int',
'warning_count' => 'int',
],
'mysqli_driver' => [
'client_info' => 'string',
'client_version' => 'string',
'driver_version' => 'string',
'embedded' => 'string',
'reconnect' => 'bool',
'report_mode' => 'int'
],
'mysqli_result' => [
'current_field' => 'int',
'field_count' => 'int',
'lengths' => 'array',
'num_rows' => 'int',
'type' => 'mixed',
],
'mysqli_sql_exception' => [
'sqlstate' => 'string'
],
'mysqli_stmt' => [
'affected_rows' => 'int',
'errno' => 'int',
'error' => 'string',
'error_list' => 'array',
'field_count' => 'int',
'id' => 'mixed',
'insert_id' => 'int',
'num_rows' => 'int',
'param_count' => 'int',
'sqlstate' => 'string',
],
'mysqli_warning' => [
'errno' => 'int',
'message' => 'string',
'sqlstate' => 'mixed',
],
'eventlistener' => [
'fd' => 'int',
],
@ -299,9 +347,6 @@ return [
'domnamednodemap' => [
'length' => 'int',
],
'mysqli-sql-exception' => [
'sqlstate' => 'string',
],
'splstack' => [
'name' => 'string',
],