Commit graph

278 commits

Author SHA1 Message Date
Yoshinari Takaoka
dde024b52e fixed XPointer evaluation failed build warning.
Closes GH-308.
2021-01-08 01:22:23 +01:00
Máté Kocsis
926842882d Generate dom methodsynopses based on stubs 2021-01-02 16:32:41 +01:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
c410fb8895 Fix #71872: PHP registerNodeClass and reusing variable names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351280 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-06 11:02:11 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
6efef65e17 Added note about existing nodes being moved in the dom
Based on a patch contributed by Pieter Hordijk <info@pieterhordijk.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351088 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 16:19:02 +00:00
Christoph Michael Becker
24219de95d Fix #79273: Correctly document nullable properties on DOMDocument and DOMNode
Patch contributed by Benjamin Eberlei <kontakt@beberlei.de>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351078 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-30 11:04:58 +00:00
Christoph Michael Becker
dd0cbeacdb Fix #77890: DOMDocument XML formatting (formatOutput) doesn't seem to work
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351000 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-26 11:55:44 +00:00
Christoph Michael Becker
ea90b5fa48 Fix #79391: Dom validate schema does not support XML Schema 1.1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350975 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-23 13:01:50 +00:00
Christoph Michael Becker
3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
a07808fdd7 Fix #62577: simplexml_load_file does not file if libxml_disable_entity_loader(true)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350442 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-31 16:29:59 +00:00
Christoph Michael Becker
103f9d6ca7 DOMImplementation: fix typo
Patch provided by jrfnl.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349859 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-13 17:14:34 +00:00
Christoph Michael Becker
9e4c917c09 Fix other miscellaneous typos
Detected by codespell

Patch provided by tandre@php.net.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349709 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-27 06:50:00 +00:00
Christoph Michael Becker
6bf4f2f0f5 Use consistent modifiers order "public" before "readonly"
Before this change:

public/readonly: 50 cases
readonly/public: 30 cases (mostly in DOM)

Reordered to be always public/readonly, in this order.

Patch provided by Giovanni Giacobbi.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349623 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-05 10:45:54 +00:00
Sherif Ramadan
fd130ca78e Fix bug #79343
json_encode fails "silently" for DOMDocument.

Updated documentation to reflect that calling json_encode() on a DOMDocument object
will result in any empty object being encoded.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349342 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-07 19:20:16 +00:00
Tiffany Taylor
cc4a3f50b6 fix typo in Example #1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349324 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-06 00:09:07 +00:00
Peter Cowburn
460a630bde move dom note about utf-8 to language snippet
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349146 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-06 11:44:34 +00:00
Christoph Michael Becker
d49c5be84e Fix misleading spelling
Integrates user note 124687.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349142 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-06 10:16:57 +00:00
Craig Duncan
8151a0863b Add clarification that DOMDocument::$ownerDocument is always null
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346781 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-10 22:25:06 +00:00
Christoph Michael Becker
3904fd71ab Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346693 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-03 23:00:09 +00:00
Christoph Michael Becker
619165915b Document DOMNamedNodeMap::count()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346141 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-30 19:38:37 +00:00
Christoph Michael Becker
0450541298 Fix/improve DOMNodeList::count() docs
Firstly, the method never fails, and there is no need for a
changelog entry, but rather for an entry in version.xml.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346140 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-30 19:04:35 +00:00
Christoph Michael Becker
7dd8d0771a Fix #77219: childNodes property not in DOMElement manual
We document the inherited properties of all DOM classes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346131 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-29 18:27:53 +00:00
Christoph Michael Becker
2911a4edd4 Add missing initializers
Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346084 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 11:34:39 +00:00
Christoph Michael Becker
1df6b1b228 Improve wording
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345237 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-29 14:13:40 +00:00
Christoph Michael Becker
8e301bd33b Fix #76496: Missing changelog entry about 7.2.0
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345172 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 15:08:12 +00:00
Peter Cowburn
d15f928cc1 add more inherited methods for domtext and domcdatasection
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344621 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-04 22:32:03 +00:00
Peter Cowburn
e17ab5484c add visibility modifiers for domcharacterdata methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344620 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-04 22:29:41 +00:00
Christoph Michael Becker
0af661476e Improve wording
Patch provided by Arnout Boks.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344565 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 14:01:55 +00:00
Andrey Gromov
9e77dc1a48 case typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344109 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-30 13:47:20 +00:00
Jakub Vrana
7192f789f8 Add <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343924 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 12:29:29 +00:00
Jakub Vrana
740dc525d8 Document new function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343923 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 12:28:24 +00:00
Jakub Vrana
a6a2e52265 Add undocumented function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343922 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 12:20:32 +00:00
Jakub Vrana
171fb63bd4 Fix letter-case based on the actual method names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343919 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 12:01:32 +00:00
Jakub Vrana
5c3a8c085f Fix letter-case based on the actual method names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343918 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 11:59:47 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christoph Michael Becker
8cb75e4b78 Fix broken build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343781 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-07 17:01:01 +00:00
Pasindu De Silva
f654e3d7c9 Add Countable to DOMNodeList and DOMNamedNodeMap
-- 
Provided by anonymous 88107 (gmblar+php@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343780 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-07 13:20:21 +00:00
Peter Cowburn
ba331c4442 DOMNodelist::item() returns DOMNode, not only DOMElement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343382 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-08 16:28:23 +00:00
Christian Weiske
55697d5c8e Add example how to add nested children.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343366 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-05 14:05:13 +00:00
Andrey Gromov
1d48545f5a There is a small typo in the two examples.
-- 
Provided by anonymous 51630 (aja@emakina.fr)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341877 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-08 07:41:47 +00:00
Joe Watkins
bebcec9d1f Documentation changes for bug #54382
-- 
Provided by anonymous 77704 (arnoutboks@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341824 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-30 18:59:59 +00:00