1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-29 10:13:23 +02:00
Commit Graph

312 Commits

Author SHA1 Message Date
Máté Kocsis 3fc56d76de List inherited constructors on the class synopsis pages (#2090) 2022-12-28 15:51:40 +01:00
Christoph M. Becker 08e31acb35 Fix yet another xpointer expression 2022-12-13 12:37:21 +01:00
Christoph M. Becker 071a588364 Fix xpointer expressions
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.
2022-12-13 12:13:33 +01:00
Máté Kocsis 09c49da6f0 Update Error, Exception, and Throwable role attributes (#2069) 2022-12-11 23:32:45 +01:00
Máté Kocsis 4f5e2b2257 Update ext/dom role attributes (#1973)
Based on php/php-src#9901
2022-12-11 20:46:43 +01:00
Tim Starling 2c4c528bf3 DOMNode::$prefix is not nullable
The fieldsynopsis above documents it as non-nullable, so don't say it can be null. Checking the source of dom_node_prefix_read(), it has always returned a string since the initial commit, it can't return null.

Closes GH-1923.
2022-10-31 10:56:03 +01:00
KapitanOczywisty 2b06b9d84c Fix GH-1733: registerNodeClass can be used with DOMDocument
Closes GH-1735.
2022-08-04 16:10:51 +02:00
Máté Kocsis 0cdbd6ddab Sync ext/dom properties with stubs - part 2 (#1297) 2022-04-20 14:49:00 +02:00
Máté Kocsis 08f35ae7dc Sync ext/dom properties with stubs - part 1 (#1295)
Co-authored-by: George Peter Banyard <girgias@php.net>
2022-04-20 14:48:26 +02:00
Máté Kocsis 6d48923b82 Reorder DOMDocument properties (#1335) 2022-04-20 13:03:27 +02:00
Máté Kocsis 7e6fceff7d Fix DOMParentNode and DOMChildNode class and method synopses (#1321) 2022-01-11 13:52:43 +01:00
Sergey Panteleev 6a3090c77d [PHP 8.0] Add new DOM interfaces (#1025)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-01-11 15:10:41 +03:00
George Peter Banyard e82d2dda19 DomDocument::createTextNode() doesn't return false anymore
Changelog entry already exists
2022-01-10 20:20:15 +00:00
Máté Kocsis a91b76de3d Add initial documentation for DOMDocumentFragment::__construct() (#1296) 2022-01-04 11:42:29 +01:00
Máté Kocsis 4951970b68 Generate ext/dom class synopses from stubs - part 2 (#1289) 2022-01-03 13:53:30 +01:00
Sergey Panteleev 181e9c5572 Fix section order issues (#1262) 2021-12-28 08:00:18 +03:00
Máté Kocsis 202a8e4165 Fix ext/dom method synopses (#1259) 2021-12-26 12:07:49 +01:00
Máté Kocsis c64a35e2b5 Generate ext/dom class synopses from stubs - part 1 (#1250) 2021-12-25 09:14:36 +01:00
Jorrit Schippers c29c97a1df [skip-revcheck] Fix typo in dom/createelementns.xml
Closes GH-1246.
2021-12-24 10:25:59 +01:00
Christoph M. Becker afbe8ad5ba Fix GH-1205: Multiple undocumented BC in DOM extension 2021-12-15 12:52:26 +01:00
Carlos C Soto 9d1833c496 Reword description on DOMDocument::domElement (#973)
* Reword documentElement clumsy description

* Reword "will return" to "evaluates to"
2021-12-11 19:14:58 -06:00
Fabien Villepinte 537e1dfad9 Add missing final modifier
Closes GH-1152.
2021-11-29 13:47:04 +01:00
Máté Kocsis b0b19b6618 Generate methodsynopses based on stubs for recent changes (#903) 2021-10-01 17:23:05 +02:00
Carlos C Soto 4d546a0a53 DOMDocument::documentElement property can be NULL
Property `documentElement` is `NULL` when there is no document element since PHP 5.4.0. https://3v4l.org/vOYYo

```php
var_dump( (new DOMDocument())->documentElement );
NULL
```

Other NULL properties on `DOMDocument` and `DOMNode` has been set before, see https://github.com/php/doc-en/pull/52

Closes GH-955.
2021-09-20 16:12:50 +02:00
Dennis Birkholz 4854fd6254 DomElement::setAttribute does not always return a new DomAttr instance
See https://3v4l.org/8YrUO

Closes GH-919.
2021-09-06 15:45:41 +02:00
Kamil Tekiela de9c65c91f Remove E_STRICT and other PHP 5 related information (#730) 2021-08-17 17:56:25 +01:00
Kevin van Sonsbeek 9a511f92cb Change the incorrect return type
Closes GH-805.
2021-07-21 11:50:01 +02:00
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