2016-10-27 22:05:27 +02:00
|
|
|
<?php
|
2018-11-06 03:57:36 +01:00
|
|
|
namespace Psalm\Internal;
|
2016-10-27 22:05:27 +02:00
|
|
|
|
2016-11-21 20:51:19 +01:00
|
|
|
/**
|
|
|
|
* Stolen from https://github.com/etsy/phan/blob/master/src/Phan/Language/Internal/PropertyMap.php
|
2016-12-15 01:19:25 +01:00
|
|
|
*
|
2016-11-21 20:51:19 +01:00
|
|
|
* The MIT License (MIT)
|
|
|
|
* Copyright (c) 2015 Rasmus Lerdorf
|
|
|
|
* Copyright (c) 2015 Andrew Morrison
|
2016-12-15 01:19:25 +01:00
|
|
|
*
|
2016-11-21 20:51:19 +01:00
|
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
|
|
* in the Software without restriction, including without limitation the rights
|
|
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
|
|
* furnished to do so, subject to the following conditions:
|
2016-12-15 01:19:25 +01:00
|
|
|
*
|
2016-11-21 20:51:19 +01:00
|
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
|
|
* copies or substantial portions of the Software.
|
2016-12-15 01:19:25 +01:00
|
|
|
*
|
2016-11-21 20:51:19 +01:00
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
* SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
2016-10-27 22:05:27 +02:00
|
|
|
return [
|
|
|
|
'arrayobject' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'limititerator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'solrdocumentfield' => [
|
|
|
|
'name' => 'string',
|
|
|
|
'boost' => 'float',
|
2017-05-27 02:05:57 +02:00
|
|
|
'values' => 'array',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domprocessinginstruction' => [
|
|
|
|
'target' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'data' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'recursivearrayiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'eventbuffer' => [
|
|
|
|
'length' => 'int',
|
2017-05-27 02:05:57 +02:00
|
|
|
'contiguous-space' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongocursor' => [
|
|
|
|
'slaveokay' => 'boolean',
|
2017-05-27 02:05:57 +02:00
|
|
|
'timeout' => 'integer',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domxpath' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'document' => 'DOMDocument',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domentity' => [
|
|
|
|
'publicId' => 'string',
|
|
|
|
'systemId' => 'string',
|
|
|
|
'notationName' => 'string',
|
|
|
|
'actualEncoding' => 'string',
|
|
|
|
'encoding' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'version' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'splminheap' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongodb-driver-exception-writeexception' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'writeresult' => 'MongoDBDriverWriteResult',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'ziparchive' => [
|
|
|
|
'status' => 'int',
|
2017-09-26 09:11:26 +02:00
|
|
|
'statusSys' => 'int',
|
|
|
|
'numFiles' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
'filename' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'comment' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'solrexception' => [
|
|
|
|
'sourceline' => 'integer',
|
|
|
|
'sourcefile' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'zif-name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'arrayiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongoid' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'id' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'dateinterval' => [
|
|
|
|
'y' => 'integer',
|
|
|
|
'm' => 'integer',
|
|
|
|
'd' => 'integer',
|
|
|
|
'h' => 'integer',
|
|
|
|
'i' => 'integer',
|
|
|
|
's' => 'integer',
|
2019-03-06 19:32:48 +01:00
|
|
|
'f' => 'float', // only present from 7.1 onwards
|
2016-10-27 22:05:27 +02:00
|
|
|
'invert' => 'integer',
|
2020-05-30 20:38:12 +02:00
|
|
|
'days' => 'false|int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'tokyotyrantexception' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'code' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'tidy' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'errorbuffer' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'filteriterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'parentiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'recursiveregexiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'error' => [
|
|
|
|
'message' => 'string',
|
|
|
|
'code' => 'int',
|
|
|
|
'file' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'line' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domexception' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'code' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domentityreference' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'spldoublylinkedlist' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domdocumentfragment' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'collator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'streamwrapper' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'context' => 'resource',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'pdostatement' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'querystring' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domnotation' => [
|
|
|
|
'publicId' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'systemId' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'snmpexception' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'code' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'directoryiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'splqueue' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'locale' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'directory' => [
|
|
|
|
'path' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'handle' => 'resource',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'splheap' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domnodelist' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'length' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongodb' => [
|
|
|
|
'w' => 'integer',
|
2017-05-27 02:05:57 +02:00
|
|
|
'wtimeout' => 'integer',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'splpriorityqueue' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongoclient' => [
|
|
|
|
'connected' => 'boolean',
|
2017-05-27 02:05:57 +02:00
|
|
|
'status' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domdocument' => [
|
|
|
|
'actualEncoding' => 'string',
|
2019-12-28 01:06:09 +01:00
|
|
|
'config' => 'null',
|
2016-10-27 22:05:27 +02:00
|
|
|
'doctype' => 'DOMDocumentType',
|
|
|
|
'documentElement' => 'DOMElement',
|
|
|
|
'documentURI' => 'string',
|
|
|
|
'encoding' => 'string',
|
|
|
|
'formatOutput' => 'bool',
|
|
|
|
'implementation' => 'DOMImplementation',
|
|
|
|
'preserveWhiteSpace' => 'bool',
|
|
|
|
'recover' => 'bool',
|
|
|
|
'resolveExternals' => 'bool',
|
|
|
|
'standalone' => 'bool',
|
|
|
|
'strictErrorChecking' => 'bool',
|
|
|
|
'substituteEntities' => 'bool',
|
|
|
|
'validateOnParse' => 'bool',
|
|
|
|
'version' => 'string',
|
|
|
|
'xmlEncoding' => 'string',
|
|
|
|
'xmlStandalone' => 'bool',
|
2017-05-27 02:05:57 +02:00
|
|
|
'xmlVersion' => 'string',
|
2019-07-24 04:53:31 +02:00
|
|
|
'ownerDocument' => 'null',
|
|
|
|
'parentNode' => 'null',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'libxmlerror' => [
|
|
|
|
'level' => 'int',
|
|
|
|
'code' => 'int',
|
|
|
|
'column' => 'int',
|
|
|
|
'message' => 'string',
|
|
|
|
'file' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'line' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domimplementation' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'normalizer' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'norewinditerator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'event' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'pending' => 'bool',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domdocumenttype' => [
|
|
|
|
'publicId' => 'string',
|
|
|
|
'systemId' => 'string',
|
|
|
|
'name' => 'string',
|
|
|
|
'entities' => 'DOMNamedNodeMap',
|
|
|
|
'notations' => 'DOMNamedNodeMap',
|
2017-05-27 02:05:57 +02:00
|
|
|
'internalSubset' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'errorexception' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'severity' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'recursivedirectoryiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domcharacterdata' => [
|
|
|
|
'data' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'length' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongocollection' => [
|
|
|
|
'db' => 'MongoDB',
|
|
|
|
'w' => 'integer',
|
2017-05-27 02:05:57 +02:00
|
|
|
'wtimeout' => 'integer',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongoint64' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'value' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
2020-04-09 14:14:09 +02:00
|
|
|
'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',
|
2020-11-17 03:48:04 +01:00
|
|
|
'insert_id' => 'int|string',
|
2020-04-09 14:14:09 +02:00
|
|
|
'protocol_version' => 'string',
|
|
|
|
'server_info' => 'string',
|
|
|
|
'server_version' => 'int',
|
|
|
|
'sqlstate' => 'string',
|
|
|
|
'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',
|
2020-05-30 23:01:20 +02:00
|
|
|
'sqlstate' => 'string',
|
2020-04-09 14:14:09 +02:00
|
|
|
],
|
2016-10-27 22:05:27 +02:00
|
|
|
'eventlistener' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'fd' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'splmaxheap' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'regexiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domelement' => [
|
|
|
|
'schemaTypeInfo' => 'bool',
|
2017-05-27 02:05:57 +02:00
|
|
|
'tagName' => 'string',
|
2020-01-29 14:39:07 +01:00
|
|
|
'attributes' => 'DOMNamedNodeMap<DOMAttr>',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'tidynode' => [
|
|
|
|
'value' => 'string',
|
|
|
|
'name' => 'string',
|
|
|
|
'type' => 'int',
|
|
|
|
'line' => 'int',
|
|
|
|
'column' => 'int',
|
|
|
|
'proprietary' => 'bool',
|
|
|
|
'id' => 'int',
|
|
|
|
'attribute' => 'array',
|
2020-06-17 15:29:23 +02:00
|
|
|
'child' => '?array',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'recursivecachingiterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'solrresponse' => [
|
|
|
|
'http-status' => 'integer',
|
|
|
|
'parser-mode' => 'integer',
|
|
|
|
'success' => 'bool',
|
|
|
|
'http-status-message' => 'string',
|
|
|
|
'http-request-url' => 'string',
|
|
|
|
'http-raw-request-headers' => 'string',
|
|
|
|
'http-raw-request' => 'string',
|
|
|
|
'http-raw-response-headers' => 'string',
|
|
|
|
'http-raw-response' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'http-digested-response' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domnamednodemap' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'length' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'splstack' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'numberformatter' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'eventsslcontext' => [
|
|
|
|
'local-cert' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'local-pk' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'pdoexception' => [
|
|
|
|
'errorinfo' => 'array',
|
2017-05-27 02:05:57 +02:00
|
|
|
'code' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domnode' => [
|
|
|
|
'nodeName' => 'string',
|
|
|
|
'nodeValue' => 'string',
|
|
|
|
'nodeType' => 'int',
|
2020-02-12 12:24:13 +01:00
|
|
|
'parentNode' => 'DOMNode|null',
|
2016-10-27 22:05:27 +02:00
|
|
|
'childNodes' => 'DOMNodeList',
|
2019-07-24 04:53:31 +02:00
|
|
|
'firstChild' => 'DOMNode|null',
|
|
|
|
'lastChild' => 'DOMNode|null',
|
|
|
|
'previousSibling' => 'DOMNode|null',
|
|
|
|
'nextSibling' => 'DOMNode|null',
|
|
|
|
'attributes' => 'null',
|
2020-04-06 18:41:18 +02:00
|
|
|
'ownerDocument' => 'DOMDocument|null',
|
2019-07-24 04:53:31 +02:00
|
|
|
'namespaceURI' => 'string|null',
|
2016-10-27 22:05:27 +02:00
|
|
|
'prefix' => 'string',
|
|
|
|
'localName' => 'string',
|
2019-07-24 04:53:31 +02:00
|
|
|
'baseURI' => 'string|null',
|
2017-05-27 02:05:57 +02:00
|
|
|
'textContent' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domattr' => [
|
|
|
|
'name' => 'string',
|
|
|
|
'ownerElement' => 'DOMElement',
|
|
|
|
'schemaTypeInfo' => 'bool',
|
|
|
|
'specified' => 'bool',
|
2017-05-27 02:05:57 +02:00
|
|
|
'value' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'simplexmliterator' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'snmp' => [
|
|
|
|
'max-oids' => 'int',
|
|
|
|
'valueretrieval' => 'int',
|
|
|
|
'quick-print' => 'bool',
|
|
|
|
'enum-print' => 'bool',
|
|
|
|
'oid-output-format' => 'int',
|
|
|
|
'oid-increasing-check' => 'bool',
|
|
|
|
'exceptions-enabled' => 'int',
|
2017-05-27 02:05:57 +02:00
|
|
|
'info' => 'array',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'mongoint32' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'value' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'xmlreader' => [
|
2018-06-06 05:42:02 +02:00
|
|
|
'attributeCount' => 'int',
|
|
|
|
'baseURI' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
'depth' => 'int',
|
2018-06-06 05:42:02 +02:00
|
|
|
'hasAttributes' => 'bool',
|
|
|
|
'hasValue' => 'bool',
|
|
|
|
'isDefault' => 'bool',
|
|
|
|
'isEmptyElement' => 'bool',
|
|
|
|
'localName' => 'string',
|
|
|
|
'name' => 'string',
|
|
|
|
'namespaceURI' => 'string',
|
|
|
|
'nodeType' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
'prefix' => 'string',
|
|
|
|
'value' => 'string',
|
2018-06-06 05:42:02 +02:00
|
|
|
'xmlLang' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'eventbufferevent' => [
|
|
|
|
'fd' => 'integer',
|
|
|
|
'priority' => 'integer',
|
|
|
|
'input' => 'EventBuffer',
|
2017-05-27 02:05:57 +02:00
|
|
|
'output' => 'EventBuffer',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'domtext' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'wholeText' => 'string',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
|
|
|
'exception' => [
|
|
|
|
'message' => 'string',
|
|
|
|
'code' => 'int',
|
|
|
|
'file' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'line' => 'int',
|
2016-10-27 22:05:27 +02:00
|
|
|
],
|
2016-12-24 12:03:55 +01:00
|
|
|
'reflectionclass' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-12-24 12:03:55 +01:00
|
|
|
],
|
|
|
|
'reflectionmethod' => [
|
|
|
|
'class' => 'string',
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-12-24 12:03:55 +01:00
|
|
|
],
|
|
|
|
'reflectionparameter' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'name' => 'string',
|
2016-12-24 12:03:55 +01:00
|
|
|
],
|
2016-12-24 19:23:22 +01:00
|
|
|
'phpparser\\node\\expr\\funccall' => [
|
2020-10-28 17:45:26 +01:00
|
|
|
'args' => 'list<PhpParser\Node\Arg>',
|
2016-12-24 19:23:22 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\expr\\new_' => [
|
2020-10-28 17:45:26 +01:00
|
|
|
'args' => 'list<PhpParser\Node\Arg>',
|
2016-12-24 19:23:22 +01:00
|
|
|
],
|
2017-11-25 18:31:01 +01:00
|
|
|
'phpparser\\node\\expr\\array_' => [
|
2018-01-14 00:33:32 +01:00
|
|
|
'items' => 'array<int, PhpParser\Node\Expr\ArrayItem|null>',
|
2017-11-24 18:10:30 +01:00
|
|
|
],
|
2020-01-21 05:19:48 +01:00
|
|
|
'phpparser\\node\\expr\\list_' => [
|
2017-11-25 18:31:01 +01:00
|
|
|
'items' => 'array<int, PhpParser\Node\Expr\ArrayItem|null>',
|
2017-11-24 18:10:30 +01:00
|
|
|
],
|
2016-12-24 19:23:22 +01:00
|
|
|
'phpparser\\node\\expr\\methodcall' => [
|
2020-10-28 17:45:26 +01:00
|
|
|
'args' => 'list<PhpParser\Node\Arg>',
|
2016-12-24 19:23:22 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\expr\\staticcall' => [
|
2020-10-28 17:45:26 +01:00
|
|
|
'args' => 'list<PhpParser\Node\Arg>',
|
2016-12-24 19:23:22 +01:00
|
|
|
],
|
2020-10-28 18:48:13 +01:00
|
|
|
'phpparser\\node\\expr\\arrowfunction' => [
|
|
|
|
'params' => 'list<PhpParser\Node\Param>',
|
|
|
|
],
|
|
|
|
'phpparser\\node\\expr\\closure' => [
|
|
|
|
'params' => 'list<PhpParser\Node\Param>',
|
|
|
|
],
|
2020-05-15 16:18:05 +02:00
|
|
|
'phpparser\\node\\name' => [
|
|
|
|
'parts' => 'non-empty-array<non-empty-string>',
|
|
|
|
],
|
2016-12-25 02:08:58 +01:00
|
|
|
'phpparser\\node\\stmt\\namespace_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\if_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\elseif_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\else_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\for_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\foreach_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\trycatch' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\catch_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\finally_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\case_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\while_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\do_' => [
|
2017-05-27 02:05:57 +02:00
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
2016-12-25 02:08:58 +01:00
|
|
|
],
|
2018-10-23 19:38:12 +02:00
|
|
|
'phpparser\\node\\stmt\\class_' => [
|
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\trait_' => [
|
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
|
|
|
],
|
|
|
|
'phpparser\\node\\stmt\\interface_' => [
|
|
|
|
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
|
|
|
],
|
2020-08-30 22:30:43 +02:00
|
|
|
'phpparser\\node\\matcharm' => [
|
|
|
|
'conds' => 'null|non-empty-list<PhpParser\Node\Expr>',
|
|
|
|
],
|
2020-05-19 16:13:25 +02:00
|
|
|
'rdkafka\\message' => [
|
|
|
|
'err' => 'int',
|
|
|
|
'topic_name' => 'string',
|
|
|
|
'partition' => 'int',
|
|
|
|
'payload' => 'string',
|
|
|
|
'key' => 'string|null',
|
|
|
|
'offset' => 'int',
|
|
|
|
'timestamp' => 'int',
|
|
|
|
'headers' => 'array<string, string>|null',
|
|
|
|
],
|
2020-11-08 19:15:49 +01:00
|
|
|
'soapfault' => [
|
|
|
|
'faultcode' => 'string',
|
|
|
|
'faultstring' => 'string',
|
|
|
|
'faultactor' => 'string',
|
|
|
|
'detail' => 'string',
|
|
|
|
'_name' => 'string',
|
|
|
|
'headerfault' => 'string',
|
|
|
|
],
|
2016-10-27 22:05:27 +02:00
|
|
|
];
|