From d75a54118772b34c7a538962ac5f994900c99690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sat, 30 Nov 2024 21:21:21 +0100 Subject: [PATCH] Synchronize manual with stubs for PHP 8.4 - part 5 (#4206) Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com> --- reference/dom/domattr.xml | 7 ++- reference/dom/domcdatasection.xml | 5 ++ reference/dom/domcharacterdata.xml | 5 ++ reference/dom/domcomment.xml | 5 ++ reference/dom/domdocument.xml | 5 ++ reference/dom/domdocumentfragment.xml | 5 ++ reference/dom/domdocumenttype.xml | 5 ++ reference/dom/domelement.xml | 6 ++- reference/dom/domentity.xml | 8 +-- reference/dom/domentityreference.xml | 5 ++ reference/dom/domnamespacenode.xml | 7 +++ reference/dom/domnamespacenode/sleep.xml | 57 ++++++++++++++++++++++ reference/dom/domnamespacenode/wakeup.xml | 57 ++++++++++++++++++++++ reference/dom/domnode.xml | 12 ++--- reference/dom/domnode/sleep.xml | 57 ++++++++++++++++++++++ reference/dom/domnode/wakeup.xml | 57 ++++++++++++++++++++++ reference/dom/domnotation.xml | 5 ++ reference/dom/domprocessinginstruction.xml | 5 ++ reference/dom/domtext.xml | 5 ++ reference/dom/versions.xml | 4 ++ 20 files changed, 310 insertions(+), 12 deletions(-) create mode 100644 reference/dom/domnamespacenode/sleep.xml create mode 100644 reference/dom/domnamespacenode/wakeup.xml create mode 100644 reference/dom/domnode/sleep.xml create mode 100644 reference/dom/domnode/wakeup.xml diff --git a/reference/dom/domattr.xml b/reference/dom/domattr.xml index 2b10a1bbd304..5bcb57ed420d 100644 --- a/reference/dom/domattr.xml +++ b/reference/dom/domattr.xml @@ -30,6 +30,11 @@ DOMNode + &InheritedConstants; + + + + &Properties; public @@ -42,7 +47,6 @@ readonly bool specified - true public @@ -60,7 +64,6 @@ readonly mixed schemaTypeInfo - null &InheritedProperties; diff --git a/reference/dom/domcdatasection.xml b/reference/dom/domcdatasection.xml index 35b39bab447f..e70756d6c84d 100644 --- a/reference/dom/domcdatasection.xml +++ b/reference/dom/domcdatasection.xml @@ -32,6 +32,11 @@ DOMText + &InheritedConstants; + + + + &InheritedProperties; diff --git a/reference/dom/domcharacterdata.xml b/reference/dom/domcharacterdata.xml index 58f64b081d44..138ab244687e 100644 --- a/reference/dom/domcharacterdata.xml +++ b/reference/dom/domcharacterdata.xml @@ -35,6 +35,11 @@ DOMChildNode + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/domcomment.xml b/reference/dom/domcomment.xml index 9f58ecd39cc2..5304bf98a2da 100644 --- a/reference/dom/domcomment.xml +++ b/reference/dom/domcomment.xml @@ -30,6 +30,11 @@ DOMCharacterData + &InheritedConstants; + + + + &InheritedProperties; diff --git a/reference/dom/domdocument.xml b/reference/dom/domdocument.xml index 715e1a810dcd..5ac9907eafb8 100644 --- a/reference/dom/domdocument.xml +++ b/reference/dom/domdocument.xml @@ -35,6 +35,11 @@ DOMParentNode + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/domdocumentfragment.xml b/reference/dom/domdocumentfragment.xml index 977a8276313c..ddce214841af 100644 --- a/reference/dom/domdocumentfragment.xml +++ b/reference/dom/domdocumentfragment.xml @@ -36,6 +36,11 @@ DOMParentNode + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/domdocumenttype.xml b/reference/dom/domdocumenttype.xml index 389397f6a228..b24121830dfd 100644 --- a/reference/dom/domdocumenttype.xml +++ b/reference/dom/domdocumenttype.xml @@ -30,6 +30,11 @@ DOMNode + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/domelement.xml b/reference/dom/domelement.xml index 860cd4979f6a..15ad52fc4d07 100644 --- a/reference/dom/domelement.xml +++ b/reference/dom/domelement.xml @@ -40,6 +40,11 @@ DOMChildNode + &InheritedConstants; + + + + &Properties; public @@ -62,7 +67,6 @@ readonly mixed schemaTypeInfo - null public diff --git a/reference/dom/domentity.xml b/reference/dom/domentity.xml index 9b9dc2bb5e3d..c19077ebac7d 100644 --- a/reference/dom/domentity.xml +++ b/reference/dom/domentity.xml @@ -29,6 +29,11 @@ DOMNode + &InheritedConstants; + + + + &Properties; public @@ -53,21 +58,18 @@ readonly stringnull actualEncoding - null public readonly stringnull encoding - null public readonly stringnull version - null &InheritedProperties; diff --git a/reference/dom/domentityreference.xml b/reference/dom/domentityreference.xml index 7b53fdad5e9d..141a3b74c9a5 100644 --- a/reference/dom/domentityreference.xml +++ b/reference/dom/domentityreference.xml @@ -39,6 +39,11 @@ Remove me once you perform substitutions DOMNode + &InheritedConstants; + + + + &InheritedProperties; diff --git a/reference/dom/domnamespacenode.xml b/reference/dom/domnamespacenode.xml index b162add6e46a..14bc01d0f440 100644 --- a/reference/dom/domnamespacenode.xml +++ b/reference/dom/domnamespacenode.xml @@ -84,6 +84,11 @@ DOMElementnull parentElement + + &Methods; + + + @@ -208,6 +213,8 @@ + &reference.dom.entities.domnamespacenode; + diff --git a/reference/dom/domnamespacenode/wakeup.xml b/reference/dom/domnamespacenode/wakeup.xml new file mode 100644 index 000000000000..bb209c286697 --- /dev/null +++ b/reference/dom/domnamespacenode/wakeup.xml @@ -0,0 +1,57 @@ + + + + DOMNameSpaceNode::__wakeup + Forbids unserialization unless unserialization methods are implemented in a subclass + + + + &reftitle.description; + + public voidDOMNameSpaceNode::__wakeup + + + + Forbids unserialization unless unserialization methods are implemented in a subclass. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + The method always throws an exception. + + + + + &reftitle.errors; + + Throws an Error exception when called. + + + + diff --git a/reference/dom/domnode.xml b/reference/dom/domnode.xml index 059c1b92b442..cf005c0f2c92 100644 --- a/reference/dom/domnode.xml +++ b/reference/dom/domnode.xml @@ -30,42 +30,42 @@ const int DOMNode::DOCUMENT_POSITION_DISCONNECTED - 1 + 0x1 public const int DOMNode::DOCUMENT_POSITION_PRECEDING - 2 + 0x2 public const int DOMNode::DOCUMENT_POSITION_FOLLOWING - 4 + 0x4 public const int DOMNode::DOCUMENT_POSITION_CONTAINS - 8 + 0x8 public const int DOMNode::DOCUMENT_POSITION_CONTAINED_BY - 16 + 0x10 public const int DOMNode::DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC - 32 + 0x20 &Properties; diff --git a/reference/dom/domnode/sleep.xml b/reference/dom/domnode/sleep.xml new file mode 100644 index 000000000000..fbaf4a441649 --- /dev/null +++ b/reference/dom/domnode/sleep.xml @@ -0,0 +1,57 @@ + + + + DOMNode::__sleep + Forbids serialization unless serialization methods are implemented in a subclass + + + + &reftitle.description; + + public arrayDOMNode::__sleep + + + + Forbids serialization unless serialization methods are implemented in a subclass. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + The method always throws an exception. + + + + + &reftitle.errors; + + Throws an Error exception when called. + + + + diff --git a/reference/dom/domnode/wakeup.xml b/reference/dom/domnode/wakeup.xml new file mode 100644 index 000000000000..f80f5683bd5f --- /dev/null +++ b/reference/dom/domnode/wakeup.xml @@ -0,0 +1,57 @@ + + + + DOMNode::__wakeup + Forbids unserialization unless unserialization methods are implemented in a subclass + + + + &reftitle.description; + + public voidDOMNode::__wakeup + + + + Forbids unserialization unless unserialization methods are implemented in a subclass. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + The method always throws an exception. + + + + + &reftitle.errors; + + Throws an Error exception when called. + + + + diff --git a/reference/dom/domnotation.xml b/reference/dom/domnotation.xml index ee7bc7aba91e..1fea3eb76fa5 100644 --- a/reference/dom/domnotation.xml +++ b/reference/dom/domnotation.xml @@ -40,6 +40,11 @@ Remove me once you perform substitutions DOMNode + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/domprocessinginstruction.xml b/reference/dom/domprocessinginstruction.xml index 84ce7cc640f8..310b877b7fc4 100644 --- a/reference/dom/domprocessinginstruction.xml +++ b/reference/dom/domprocessinginstruction.xml @@ -31,6 +31,11 @@ DOMNode + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/domtext.xml b/reference/dom/domtext.xml index 08f5a80cd4fa..c17aa74ce952 100644 --- a/reference/dom/domtext.xml +++ b/reference/dom/domtext.xml @@ -32,6 +32,11 @@ DOMCharacterData + &InheritedConstants; + + + + &Properties; public diff --git a/reference/dom/versions.xml b/reference/dom/versions.xml index 6244affd03ec..33075c62c4ff 100644 --- a/reference/dom/versions.xml +++ b/reference/dom/versions.xml @@ -139,6 +139,8 @@ + + @@ -165,6 +167,8 @@ + +