1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 08:49:52 +01:00
psalm/dictionaries/PropertyMap.php

619 lines
17 KiB
PHP
Raw Normal View History

<?php
2018-11-06 03:57:36 +01:00
namespace Psalm\Internal;
2016-11-21 20:51:19 +01:00
/**
* Automatically created by bin/update-property-map.php
2016-12-15 01:19:25 +01:00
*
* Please do not modify - adapt the override constants in above file instead.
2016-11-21 20:51:19 +01:00
*/
return [
'commonmark\\node' => [
2022-12-04 17:10:40 +01:00
'endColumn' => 'int',
'endLine' => 'int',
'firstChild' => 'Node|null',
'lastChild' => 'Node|null',
'next' => 'Node|null',
'parent' => 'Node|null',
'previous' => 'Node|null',
2022-12-04 17:10:40 +01:00
'startColumn' => 'int',
'startLine' => 'int',
],
'commonmark\\node\\bulletlist' => [
'delimiter' => 'int',
'tight' => 'bool',
],
'commonmark\\node\\codeblock' => [
'fence' => 'string|null',
],
'commonmark\\node\\customblock' => [
2022-12-04 17:10:40 +01:00
'onEnter' => 'string|null',
'onLeave' => 'string|null',
],
'commonmark\\node\\custominline' => [
2022-12-04 17:10:40 +01:00
'onEnter' => 'string|null',
'onLeave' => 'string|null',
],
'commonmark\\node\\heading' => [
'level' => 'int',
],
'commonmark\\node\\image' => [
'title' => 'string|null',
'url' => 'string|null',
],
'commonmark\\node\\link' => [
'title' => 'string|null',
'url' => 'string|null',
],
'commonmark\\node\\orderedlist' => [
'delimiter' => 'int',
'start' => 'int',
'tight' => 'bool',
],
'commonmark\\node\\text' => [
'literal' => 'string|null',
],
'curlfile' => [
'mime' => 'string',
2017-05-27 02:05:57 +02:00
'name' => 'string',
'postname' => 'string',
],
'curlstringfile' => [
'data' => 'string',
'mime' => 'string',
'postname' => 'string',
],
'dateinterval' => [
'd' => 'int',
2022-07-04 11:36:49 +02:00
'date_string' => 'string',
'days' => 'false|int',
'f' => 'float',
2022-07-04 11:36:49 +02:00
'from_string' => 'bool',
'h' => 'int',
'i' => 'int',
'invert' => 'int',
'm' => 'int',
's' => 'int',
'y' => 'int',
],
'dateperiod' => [
'current' => 'DateTimeInterface',
'end' => 'DateTimeInterface',
'include_start_date' => 'bool',
'interval' => 'DateInterval',
'recurrences' => 'int',
'start' => 'DateTimeInterface',
],
'directory' => [
'handle' => 'resource',
'path' => 'string',
],
'domattr' => [
2017-05-27 02:05:57 +02:00
'name' => 'string',
2022-12-04 17:10:40 +01:00
'ownerElement' => 'DOMElement|null',
'schemaTypeInfo' => 'mixed',
'specified' => 'bool',
'value' => 'string',
],
'domcharacterdata' => [
'data' => 'string',
'length' => 'int',
2022-12-04 17:10:40 +01:00
'nextElementSibling' => 'DOMElement|null',
'previousElementSibling' => 'DOMElement|null',
],
'domdocument' => [
2022-12-04 17:10:40 +01:00
'actualEncoding' => 'string|null',
'childElementCount' => 'int',
'config' => 'mixed',
'doctype' => 'DOMDocumentType|null',
2022-12-04 17:10:40 +01:00
'documentElement' => 'DOMElement|null',
'documentURI' => 'string|null',
'encoding' => 'string|null',
2022-12-04 17:10:40 +01:00
'firstElementChild' => 'DOMElement|null',
'formatOutput' => 'bool',
'implementation' => 'DOMImplementation',
2022-12-04 17:10:40 +01:00
'lastElementChild' => 'DOMElement|null',
'preserveWhiteSpace' => 'bool',
'recover' => 'bool',
2022-12-04 17:10:40 +01:00
'resolveExternals' => 'bool',
'standalone' => 'bool',
2022-12-04 17:10:40 +01:00
'strictErrorChecking' => 'bool',
'substituteEntities' => 'bool',
'validateOnParse' => 'bool',
'version' => 'string|null',
2022-12-04 17:18:24 +01:00
'xmlEncoding' => 'string|null',
2022-12-04 17:10:40 +01:00
'xmlStandalone' => 'bool',
'xmlVersion' => 'string|null',
],
'domdocumentfragment' => [
2022-12-04 17:10:40 +01:00
'childElementCount' => 'int',
'firstelementChild' => 'DOMElement|null',
'lastelementChild' => 'DOMElement|null',
],
'domdocumenttype' => [
'entities' => 'DOMNamedNodeMap',
'internalsubset' => 'string|null',
2017-05-27 02:05:57 +02:00
'name' => 'string',
'notations' => 'DOMNamedNodeMap',
'publicid' => 'string',
'systemid' => 'string',
],
'domelement' => [
2022-12-04 17:18:24 +01:00
'childElementCount' => 'int',
2022-12-04 17:10:40 +01:00
'firstElementChild' => 'DOMElement|null',
'lastElementChild' => 'DOMElement|null',
'nextElementSibling' => 'DOMElement|null',
'previousElementSibling' => 'DOMElement|null',
'schemaTypeInfo' => 'mixed',
'tagName' => 'string',
],
'domentity' => [
2022-12-04 17:10:40 +01:00
'actualEncoding' => 'string|null',
'encoding' => 'string|null',
2022-12-04 17:10:40 +01:00
'notationName' => 'string|null',
'publicid' => 'string|null',
'systemid' => 'string|null',
'version' => 'string|null',
],
'domexception' => [
'code' => 'int',
],
'domnamednodemap' => [
'length' => 'int',
],
'domnode' => [
'attributes' => 'DOMNamedNodeMap|null',
2022-12-04 17:18:24 +01:00
'baseURI' => 'string|null',
2022-12-04 17:10:40 +01:00
'childNodes' => 'DOMNodeList<DOMNode>',
'firstChild' => 'DOMNode|null',
'lastChild' => 'DOMNode|null',
'localName' => 'string|null',
'namespaceURI' => 'string|null',
'nextSibling' => 'DOMNode|null',
'nodeName' => 'string',
'nodeType' => 'int',
'nodeValue' => 'string|null',
'ownerDocument' => 'DOMDocument|null',
'parentNode' => 'DOMNode|null',
'prefix' => 'string',
2022-12-04 17:10:40 +01:00
'previousSibling' => 'DOMNode|null',
'textContent' => 'string',
],
'domnodelist' => [
'length' => 'int',
],
'domnotation' => [
2022-12-04 17:10:40 +01:00
'publicId' => 'string',
'systemId' => 'string',
],
'domprocessinginstruction' => [
'data' => 'string',
'target' => 'string',
],
'domtext' => [
2022-12-04 17:10:40 +01:00
'wholeText' => 'string',
],
'domxpath' => [
'document' => 'DOMDocument',
2022-12-04 17:10:40 +01:00
'registerNodeNamespaces' => 'bool',
],
'errorexception' => [
'severity' => 'int',
],
'event' => [
'pending' => 'bool',
],
'eventbuffer' => [
'contiguous_space' => 'int',
2017-05-27 02:05:57 +02:00
'length' => 'int',
],
'eventbufferevent' => [
'fd' => 'int',
'input' => 'EventBuffer',
'output' => 'EventBuffer',
'priority' => 'int',
],
'eventlistener' => [
'fd' => 'int',
],
'eventsslcontext' => [
'local_cert' => 'string',
'local_pk' => 'string',
],
'libxmlerror' => [
'code' => 'int',
'column' => 'int',
'file' => 'string',
'level' => 'int',
2017-05-27 02:05:57 +02:00
'line' => 'int',
'message' => 'string',
],
'mongoclient' => [
'connected' => 'boolean',
'status' => 'string',
],
'mongocollection' => [
'db' => 'MongoDB',
'w' => 'integer',
'wtimeout' => 'integer',
],
'mongocursor' => [
'slaveokay' => 'boolean',
'timeout' => 'integer',
],
'mongodb' => [
'w' => 'integer',
'wtimeout' => 'integer',
],
'mongodb\\driver\\exception\\commandexception' => [
'resultdocument' => 'object',
],
'mongodb\\driver\\exception\\runtimeexception' => [
'errorlabels' => 'array|null',
],
'mongodb\\driver\\exception\\writeexception' => [
'writeresult' => 'MongoDB\\Driver\\WriteResult',
],
'mongoid' => [
'id' => 'string',
],
'mongoint32' => [
'value' => 'string',
],
'mongoint64' => [
2017-05-27 02:05:57 +02:00
'value' => 'string',
],
'mysqli' => [
'affected_rows' => 'int<-1, max>|numeric-string',
'client_info' => 'string',
'client_version' => 'int',
'connect_errno' => 'int',
'connect_error' => 'string|null',
'errno' => 'int',
'error' => 'string',
'error_list' => 'array',
'field_count' => 'int',
'host_info' => 'string',
'info' => 'string|null',
'insert_id' => 'int|string',
'protocol_version' => 'int',
'server_info' => 'string',
'server_version' => 'int',
'sqlstate' => 'string',
'thread_id' => 'int',
'warning_count' => 'int',
],
'mysqli_driver' => [
'client_info' => 'string',
'client_version' => 'int',
'driver_version' => 'int',
'embedded' => 'bool',
'reconnect' => 'bool',
'report_mode' => 'int',
],
'mysqli_result' => [
'current_field' => 'int',
'field_count' => 'int',
'lengths' => 'array|null',
'num_rows' => 'int<0, max>|numeric-string',
'type' => 'int',
],
'mysqli_sql_exception' => [
'sqlstate' => 'string',
],
'mysqli_stmt' => [
'affected_rows' => 'int<-1, max>|numeric-string',
'errno' => 'int',
'error' => 'string',
'error_list' => 'array',
'field_count' => 'int',
'id' => 'int',
'insert_id' => 'int|string',
'num_rows' => 'int<0, max>|numeric-string',
'param_count' => 'int',
'sqlstate' => 'string',
],
'mysqli_warning' => [
'errno' => 'int',
'message' => 'string',
'sqlstate' => 'string',
],
'parallel\\events\\event' => [
'object' => 'object',
'source' => 'string',
'type' => 'int',
],
'parle\\errorinfo' => [
'id' => 'int',
'position' => 'int',
'token' => 'mixed',
],
'parle\\lexer' => [
'bol' => 'bool',
'cursor' => 'int',
'flags' => 'int',
'marker' => 'int',
'state' => 'int',
],
'parle\\parser' => [
'action' => 'int',
'reduceid' => 'int',
],
'parle\\rlexer' => [
'bol' => 'bool',
'cursor' => 'int',
'flags' => 'int',
'marker' => 'int',
'state' => 'int',
],
'parle\\rparser' => [
'action' => 'int',
'reduceid' => 'int',
],
'parle\\stack' => [
'empty' => 'bool',
'size' => 'int',
'top' => 'mixed',
],
'parle\\token' => [
'id' => 'int',
'value' => 'string',
],
'pdoexception' => [
'code' => 'int|string',
2022-12-04 17:10:40 +01:00
'errorInfo' => 'array|null',
],
'pdostatement' => [
2022-12-04 17:10:40 +01:00
'queryString' => 'string',
],
'php_user_filter' => [
'filtername' => 'string',
'params' => 'mixed',
'stream' => 'resource|null',
],
'phpparser\\node\\expr\\array_' => [
'items' => 'array<int, PhpParser\\Node\\Expr\\ArrayItem|null>',
],
'phpparser\\node\\expr\\arrowfunction' => [
'params' => 'list<PhpParser\\Node\\Param>',
],
'phpparser\\node\\expr\\closure' => [
'params' => 'list<PhpParser\\Node\\Param>',
],
'phpparser\\node\\expr\\list_' => [
'items' => 'array<int, PhpParser\\Node\\Expr\\ArrayItem|null>',
],
'phpparser\\node\\expr\\shellexec' => [
'parts' => 'list<PhpParser\\Node>',
],
'phpparser\\node\\matcharm' => [
'conds' => 'null|non-empty-list<PhpParser\\Node\\Expr>',
],
'phpparser\\node\\name' => [
'parts' => 'non-empty-list<non-empty-string>',
],
'phpparser\\node\\stmt\\case_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\catch_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\class_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\do_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\else_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\elseif_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\finally_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\for_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\foreach_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\if_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\interface_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\namespace_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\trait_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\trycatch' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phpparser\\node\\stmt\\while_' => [
'stmts' => 'list<PhpParser\\Node\\Stmt>',
],
'phptoken' => [
'id' => 'int',
'line' => 'int',
'pos' => 'int',
'text' => 'string',
],
'rdkafka\\message' => [
'err' => 'int',
'headers' => 'array<string, string>|null',
'key' => 'string|null',
'offset' => 'int',
'partition' => 'int',
'payload' => 'string',
'timestamp' => 'int',
'topic_name' => 'string',
],
'reflectionextension' => [
'name' => 'string',
],
'reflectionfunctionabstract' => [
2017-05-27 02:05:57 +02:00
'name' => 'string',
2016-12-24 12:03:55 +01:00
],
'reflectionzendextension' => [
'name' => 'string',
2020-05-15 16:18:05 +02:00
],
'snmp' => [
'enum_print' => 'bool',
'exceptions_enabled' => 'int',
'info' => 'array',
'max_oids' => 'int|null',
'oid_increasing_check' => 'bool',
'oid_output_format' => 'int',
'quick_print' => 'bool',
'valueretrieval' => 'int',
2016-12-25 02:08:58 +01:00
],
'snmpexception' => [
'code' => 'string',
2016-12-25 02:08:58 +01:00
],
'soapclient' => [
'__default_headers' => 'array|null',
'__last_request' => 'string|null',
'__last_request_headers' => 'string|null',
'__last_response' => 'string|null',
'__last_response_headers' => 'string|null',
'__soap_fault' => 'SoapFault|null',
'_classmap' => 'array|null',
'_connection_timeout' => 'int',
'_cookies' => 'array',
'_digest' => 'string|null',
'_encoding' => 'string|null',
'_exceptions' => 'bool',
'_features' => 'int|null',
'_keep_alive' => 'bool',
'_login' => 'string|null',
'_password' => 'string|null',
'_proxy_host' => 'string|null',
'_proxy_login' => 'string|null',
'_proxy_password' => 'string|null',
'_proxy_port' => 'int|null',
'_soap_version' => 'int',
'_ssl_method' => 'int|null',
'_stream_context' => 'resource|null',
'_use_digest' => 'bool',
'_use_proxy' => 'int|null',
'_user_agent' => 'string|null',
'compression' => 'int|null',
'httpsocket' => 'resource|null',
'httpurl' => 'resource|null',
'location' => 'string|null',
'sdl' => 'resource|null',
'style' => 'int|null',
'trace' => 'bool',
'typemap' => 'resource|null',
'uri' => 'string|null',
'use' => 'int|null',
],
'soapfault' => [
'_name' => 'string|null',
'detail' => 'mixed',
'faultactor' => 'string|null',
'faultcode' => 'string|null',
'faultcodens' => 'string|null',
'faultstring' => 'string',
'headerfault' => 'mixed',
],
'soapheader' => [
'actor' => 'string|int|null',
'data' => 'mixed',
2022-12-04 17:10:40 +01:00
'mustUnderstand' => 'bool',
'name' => 'string',
'namespace' => 'string',
],
'soapparam' => [
'param_data' => 'mixed',
'param_name' => 'string',
],
'soapserver' => [
'__soap_fault' => 'SoapFault|null',
'service' => 'resource',
],
'soapvar' => [
'enc_name' => 'string|null',
'enc_namens' => 'string|null',
'enc_ns' => 'string|null',
'enc_stype' => 'string|null',
'enc_type' => 'int',
'enc_value' => 'mixed',
2016-12-25 02:08:58 +01:00
],
'solrdocumentfield' => [
'boost' => 'float',
'name' => 'string',
'values' => 'array',
2016-12-25 02:08:58 +01:00
],
'solrexception' => [
'sourcefile' => 'string',
'sourceline' => 'int',
'zif_name' => 'string',
2016-12-25 02:08:58 +01:00
],
'solrresponse' => [
'http_digested_response' => 'string',
'http_raw_request' => 'string',
'http_raw_request_headers' => 'string',
'http_raw_response' => 'string',
'http_raw_response_headers' => 'string',
'http_request_url' => 'string',
'http_status' => 'int',
'http_status_message' => 'string',
'parser_mode' => 'int',
'success' => 'bool',
2016-12-25 02:08:58 +01:00
],
'streamwrapper' => [
'context' => 'resource',
],
'tidy' => [
2022-12-04 17:10:40 +01:00
'errorBuffer' => 'string',
2022-07-04 11:36:49 +02:00
'value' => 'string|null',
],
'tidynode' => [
2022-07-04 11:36:49 +02:00
'attribute' => 'array|null',
'child' => 'array|null',
'column' => 'int',
2022-07-04 11:36:49 +02:00
'id' => 'int|null',
'line' => 'int',
'name' => 'string',
'proprietary' => 'bool',
'type' => 'int',
'value' => 'string',
2020-08-30 22:30:43 +02:00
],
'tokyotyrantexception' => [
'code' => 'int',
2021-08-29 00:39:36 +02:00
],
'transliterator' => [
'id' => 'string',
],
'xmlreader' => [
2022-12-04 17:10:40 +01:00
'attributeCount' => 'int',
'baseURI' => 'string',
'depth' => 'int',
2022-12-04 17:10:40 +01:00
'hasAttributes' => 'bool',
'hasValue' => 'bool',
'isDefault' => 'bool',
'isEmptyElement' => 'bool',
'localName' => 'string',
'name' => 'string',
2022-12-04 17:10:40 +01:00
'namespaceURI' => 'string',
'nodeType' => 'int',
'prefix' => 'string',
'value' => 'string',
2022-12-04 17:10:40 +01:00
'xmlLang' => 'string',
],
'ziparchive' => [
'comment' => 'string',
'filename' => 'string',
2022-12-04 17:10:40 +01:00
'lastId' => 'int',
'numFiles' => 'int',
'status' => 'int',
2022-12-04 17:10:40 +01:00
'statusSys' => 'int',
],
];