Commit graph

285 commits

Author SHA1 Message Date
Sergey Panteleev
3eaa74fd7d
Fix issues in Dom directory
Part of #658
2021-06-09 12:21:46 +03:00
George Peter Banyard
9bbb2a70cc
No need for two changelog sections 2021-05-24 01:12:24 +01:00
Máté Kocsis
5770355a66
Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Yoshinari Takaoka
86ff4f0fe3
Added PHP 8 into versions.xml for dom based on stubs. (#431) 2021-05-15 19:20:18 +09:00
Sergey Panteleev
aab33d6443
Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 (#543) 2021-04-22 17:52:58 +03:00
Tiffany
b60ee4fd0c
fix miscapitalization 2021-03-31 08:12:51 -05:00
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