Skip to content

Commit 03283b1

Browse files
committed
Create aliases for DOM constants
1 parent 43b43ed commit 03283b1

File tree

2 files changed

+104
-1
lines changed

2 files changed

+104
-1
lines changed

ext/dom/php_dom.stub.php

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,92 @@ function dom_import_simplexml(object $node): DOMElement {}
10081008

10091009
namespace DOM
10101010
{
1011+
/**
1012+
* @var int
1013+
* @cvalue PHP_ERR
1014+
*/
1015+
const PHP_ERR = UNKNOWN;
1016+
/**
1017+
* @var int
1018+
* @cvalue INDEX_SIZE_ERR
1019+
*/
1020+
const INDEX_SIZE_ERR = UNKNOWN;
1021+
/**
1022+
* @var int
1023+
* @cvalue DOMSTRING_SIZE_ERR
1024+
*/
1025+
const STRING_SIZE_ERR = UNKNOWN;
1026+
/**
1027+
* @var int
1028+
* @cvalue HIERARCHY_REQUEST_ERR
1029+
*/
1030+
const HIERARCHY_REQUEST_ERR = UNKNOWN;
1031+
/**
1032+
* @var int
1033+
* @cvalue WRONG_DOCUMENT_ERR
1034+
*/
1035+
const WRONG_DOCUMENT_ERR = UNKNOWN;
1036+
/**
1037+
* @var int
1038+
* @cvalue INVALID_CHARACTER_ERR
1039+
*/
1040+
const INVALID_CHARACTER_ERR = UNKNOWN;
1041+
/**
1042+
* @var int
1043+
* @cvalue NO_DATA_ALLOWED_ERR
1044+
*/
1045+
const NO_DATA_ALLOWED_ERR = UNKNOWN;
1046+
/**
1047+
* @var int
1048+
* @cvalue NO_MODIFICATION_ALLOWED_ERR
1049+
*/
1050+
const NO_MODIFICATION_ALLOWED_ERR = UNKNOWN;
1051+
/**
1052+
* @var int
1053+
* @cvalue NOT_FOUND_ERR
1054+
*/
1055+
const NOT_FOUND_ERR = UNKNOWN;
1056+
/**
1057+
* @var int
1058+
* @cvalue NOT_SUPPORTED_ERR
1059+
*/
1060+
const NOT_SUPPORTED_ERR = UNKNOWN;
1061+
/**
1062+
* @var int
1063+
* @cvalue INUSE_ATTRIBUTE_ERR
1064+
*/
1065+
const INUSE_ATTRIBUTE_ERR = UNKNOWN;
1066+
/**
1067+
* @var int
1068+
* @cvalue INVALID_STATE_ERR
1069+
*/
1070+
const INVALID_STATE_ERR = UNKNOWN;
1071+
/**
1072+
* @var int
1073+
* @cvalue SYNTAX_ERR
1074+
*/
1075+
const SYNTAX_ERR = UNKNOWN;
1076+
/**
1077+
* @var int
1078+
* @cvalue INVALID_MODIFICATION_ERR
1079+
*/
1080+
const INVALID_MODIFICATION_ERR = UNKNOWN;
1081+
/**
1082+
* @var int
1083+
* @cvalue NAMESPACE_ERR
1084+
*/
1085+
const NAMESPACE_ERR = UNKNOWN;
1086+
/**
1087+
* @var int
1088+
* @cvalue INVALID_ACCESS_ERR
1089+
*/
1090+
const INVALID_ACCESS_ERR = UNKNOWN;
1091+
/**
1092+
* @var int
1093+
* @cvalue VALIDATION_ERR
1094+
*/
1095+
const VALIDATION_ERR = UNKNOWN;
1096+
10111097
/**
10121098
* @var int
10131099
* @cvalue DOM_HTML_NO_DEFAULT_NS

ext/dom/php_dom_arginfo.h

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)