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

Merge pull request #8831 from orklah/propertymap

capitalize properties
This commit is contained in:
orklah 2022-12-04 17:26:14 +01:00 committed by GitHub
commit 16d81aadd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,15 +9,15 @@ namespace Psalm\Internal;
return [ return [
'commonmark\\node' => [ 'commonmark\\node' => [
'endcolumn' => 'int', 'endColumn' => 'int',
'endline' => 'int', 'endLine' => 'int',
'firstchild' => 'Node|null', 'firstChild' => 'Node|null',
'lastchild' => 'Node|null', 'lastChild' => 'Node|null',
'next' => 'Node|null', 'next' => 'Node|null',
'parent' => 'Node|null', 'parent' => 'Node|null',
'previous' => 'Node|null', 'previous' => 'Node|null',
'startcolumn' => 'int', 'startColumn' => 'int',
'startline' => 'int', 'startLine' => 'int',
], ],
'commonmark\\node\\bulletlist' => [ 'commonmark\\node\\bulletlist' => [
'delimiter' => 'int', 'delimiter' => 'int',
@ -27,12 +27,12 @@ return [
'fence' => 'string|null', 'fence' => 'string|null',
], ],
'commonmark\\node\\customblock' => [ 'commonmark\\node\\customblock' => [
'onenter' => 'string|null', 'onEnter' => 'string|null',
'onleave' => 'string|null', 'onLeave' => 'string|null',
], ],
'commonmark\\node\\custominline' => [ 'commonmark\\node\\custominline' => [
'onenter' => 'string|null', 'onEnter' => 'string|null',
'onleave' => 'string|null', 'onLeave' => 'string|null',
], ],
'commonmark\\node\\heading' => [ 'commonmark\\node\\heading' => [
'level' => 'int', 'level' => 'int',
@ -90,45 +90,45 @@ return [
], ],
'domattr' => [ 'domattr' => [
'name' => 'string', 'name' => 'string',
'ownerelement' => 'DOMElement|null', 'ownerElement' => 'DOMElement|null',
'schematypeinfo' => 'mixed', 'schemaTypeInfo' => 'mixed',
'specified' => 'bool', 'specified' => 'bool',
'value' => 'string', 'value' => 'string',
], ],
'domcharacterdata' => [ 'domcharacterdata' => [
'data' => 'string', 'data' => 'string',
'length' => 'int', 'length' => 'int',
'nextelementsibling' => 'DOMElement|null', 'nextElementSibling' => 'DOMElement|null',
'previouselementsibling' => 'DOMElement|null', 'previousElementSibling' => 'DOMElement|null',
], ],
'domdocument' => [ 'domdocument' => [
'actualencoding' => 'string|null', 'actualEncoding' => 'string|null',
'childelementcount' => 'int', 'childElementCount' => 'int',
'config' => 'mixed', 'config' => 'mixed',
'doctype' => 'DOMDocumentType|null', 'doctype' => 'DOMDocumentType|null',
'documentelement' => 'DOMElement|null', 'documentElement' => 'DOMElement|null',
'documenturi' => 'string|null', 'documentURI' => 'string|null',
'encoding' => 'string|null', 'encoding' => 'string|null',
'firstelementchild' => 'DOMElement|null', 'firstElementChild' => 'DOMElement|null',
'formatoutput' => 'bool', 'formatOutput' => 'bool',
'implementation' => 'DOMImplementation', 'implementation' => 'DOMImplementation',
'lastelementchild' => 'DOMElement|null', 'lastElementChild' => 'DOMElement|null',
'preservewhitespace' => 'bool', 'preserveWhitespace' => 'bool',
'recover' => 'bool', 'recover' => 'bool',
'resolveexternals' => 'bool', 'resolveExternals' => 'bool',
'standalone' => 'bool', 'standalone' => 'bool',
'stricterrorchecking' => 'bool', 'strictErrorChecking' => 'bool',
'substituteentities' => 'bool', 'substituteEntities' => 'bool',
'validateonparse' => 'bool', 'validateOnParse' => 'bool',
'version' => 'string|null', 'version' => 'string|null',
'xmlencoding' => 'string|null', 'xmlEncoding' => 'string|null',
'xmlstandalone' => 'bool', 'xmlStandalone' => 'bool',
'xmlversion' => 'string|null', 'xmlVersion' => 'string|null',
], ],
'domdocumentfragment' => [ 'domdocumentfragment' => [
'childelementcount' => 'int', 'childElementCount' => 'int',
'firstelementchild' => 'DOMElement|null', 'firstelementChild' => 'DOMElement|null',
'lastelementchild' => 'DOMElement|null', 'lastelementChild' => 'DOMElement|null',
], ],
'domdocumenttype' => [ 'domdocumenttype' => [
'entities' => 'DOMNamedNodeMap', 'entities' => 'DOMNamedNodeMap',
@ -139,18 +139,18 @@ return [
'systemid' => 'string', 'systemid' => 'string',
], ],
'domelement' => [ 'domelement' => [
'childelementcount' => 'int', 'childElementCount' => 'int',
'firstelementchild' => 'DOMElement|null', 'firstElementChild' => 'DOMElement|null',
'lastelementchild' => 'DOMElement|null', 'lastElementChild' => 'DOMElement|null',
'nextelementsibling' => 'DOMElement|null', 'nextElementSibling' => 'DOMElement|null',
'previouselementsibling' => 'DOMElement|null', 'previousElementSibling' => 'DOMElement|null',
'schematypeinfo' => 'mixed', 'schemaTypeInfo' => 'mixed',
'tagname' => 'string', 'tagName' => 'string',
], ],
'domentity' => [ 'domentity' => [
'actualencoding' => 'string|null', 'actualEncoding' => 'string|null',
'encoding' => 'string|null', 'encoding' => 'string|null',
'notationname' => 'string|null', 'notationName' => 'string|null',
'publicid' => 'string|null', 'publicid' => 'string|null',
'systemid' => 'string|null', 'systemid' => 'string|null',
'version' => 'string|null', 'version' => 'string|null',
@ -163,39 +163,39 @@ return [
], ],
'domnode' => [ 'domnode' => [
'attributes' => 'DOMNamedNodeMap|null', 'attributes' => 'DOMNamedNodeMap|null',
'baseuri' => 'string|null', 'baseURI' => 'string|null',
'childnodes' => 'DOMNodeList<DOMNode>', 'childNodes' => 'DOMNodeList<DOMNode>',
'firstchild' => 'DOMNode|null', 'firstChild' => 'DOMNode|null',
'lastchild' => 'DOMNode|null', 'lastChild' => 'DOMNode|null',
'localname' => 'string|null', 'localName' => 'string|null',
'namespaceuri' => 'string|null', 'namespaceURI' => 'string|null',
'nextsibling' => 'DOMNode|null', 'nextSibling' => 'DOMNode|null',
'nodename' => 'string', 'nodeName' => 'string',
'nodetype' => 'int', 'nodeType' => 'int',
'nodevalue' => 'string|null', 'nodeValue' => 'string|null',
'ownerdocument' => 'DOMDocument|null', 'ownerDocument' => 'DOMDocument|null',
'parentnode' => 'DOMNode|null', 'parentNode' => 'DOMNode|null',
'prefix' => 'string', 'prefix' => 'string',
'previoussibling' => 'DOMNode|null', 'previousSibling' => 'DOMNode|null',
'textcontent' => 'string', 'textContent' => 'string',
], ],
'domnodelist' => [ 'domnodelist' => [
'length' => 'int', 'length' => 'int',
], ],
'domnotation' => [ 'domnotation' => [
'publicid' => 'string', 'publicId' => 'string',
'systemid' => 'string', 'systemId' => 'string',
], ],
'domprocessinginstruction' => [ 'domprocessinginstruction' => [
'data' => 'string', 'data' => 'string',
'target' => 'string', 'target' => 'string',
], ],
'domtext' => [ 'domtext' => [
'wholetext' => 'string', 'wholeText' => 'string',
], ],
'domxpath' => [ 'domxpath' => [
'document' => 'DOMDocument', 'document' => 'DOMDocument',
'registernodenamespaces' => 'bool', 'registerNodeNamespaces' => 'bool',
], ],
'errorexception' => [ 'errorexception' => [
'severity' => 'int', 'severity' => 'int',
@ -245,9 +245,6 @@ return [
'w' => 'integer', 'w' => 'integer',
'wtimeout' => 'integer', 'wtimeout' => 'integer',
], ],
'mongodb-driver-exception-writeexception' => [
'writeresult' => 'MongoDBDriverWriteResult',
],
'mongodb\\driver\\exception\\commandexception' => [ 'mongodb\\driver\\exception\\commandexception' => [
'resultdocument' => 'object', 'resultdocument' => 'object',
], ],
@ -364,10 +361,10 @@ return [
], ],
'pdoexception' => [ 'pdoexception' => [
'code' => 'int|string', 'code' => 'int|string',
'errorinfo' => 'array|null', 'errorInfo' => 'array|null',
], ],
'pdostatement' => [ 'pdostatement' => [
'querystring' => 'string', 'queryString' => 'string',
], ],
'php_user_filter' => [ 'php_user_filter' => [
'filtername' => 'string', 'filtername' => 'string',
@ -528,7 +525,7 @@ return [
'soapheader' => [ 'soapheader' => [
'actor' => 'string|int|null', 'actor' => 'string|int|null',
'data' => 'mixed', 'data' => 'mixed',
'mustunderstand' => 'bool', 'mustUnderstand' => 'bool',
'name' => 'string', 'name' => 'string',
'namespace' => 'string', 'namespace' => 'string',
], ],
@ -574,7 +571,7 @@ return [
'context' => 'resource', 'context' => 'resource',
], ],
'tidy' => [ 'tidy' => [
'errorbuffer' => 'string', 'errorBuffer' => 'string',
'value' => 'string|null', 'value' => 'string|null',
], ],
'tidynode' => [ 'tidynode' => [
@ -595,27 +592,27 @@ return [
'id' => 'string', 'id' => 'string',
], ],
'xmlreader' => [ 'xmlreader' => [
'attributecount' => 'int', 'attributeCount' => 'int',
'baseuri' => 'string', 'baseURI' => 'string',
'depth' => 'int', 'depth' => 'int',
'hasattributes' => 'bool', 'hasAttributes' => 'bool',
'hasvalue' => 'bool', 'hasValue' => 'bool',
'isdefault' => 'bool', 'isDefault' => 'bool',
'isemptyelement' => 'bool', 'isEmptyElement' => 'bool',
'localname' => 'string', 'localName' => 'string',
'name' => 'string', 'name' => 'string',
'namespaceuri' => 'string', 'namespaceURI' => 'string',
'nodetype' => 'int', 'nodeType' => 'int',
'prefix' => 'string', 'prefix' => 'string',
'value' => 'string', 'value' => 'string',
'xmllang' => 'string', 'xmlLang' => 'string',
], ],
'ziparchive' => [ 'ziparchive' => [
'comment' => 'string', 'comment' => 'string',
'filename' => 'string', 'filename' => 'string',
'lastid' => 'int', 'lastId' => 'int',
'numfiles' => 'int', 'numFiles' => 'int',
'status' => 'int', 'status' => 'int',
'statussys' => 'int', 'statusSys' => 'int',
], ],
]; ];