summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.stub.php
Commit message (Collapse)AuthorAgeFilesLines
* Implicitly enable function entry generation when class entry generation is ↵Máté Kocsis2021-02-091-4/+1
| | | | | | enabled Closes GH-6675
* Merge branch 'PHP-8.0'Nikita Popov2021-02-091-1/+1
|\ | | | | | | | | * PHP-8.0: Make createDocument() $namespace nullable
| * Make createDocument() $namespace nullableNikita Popov2021-02-091-1/+1
| | | | | | | | | | | | According to the DOM specification, this argument should be nullable. It's also supposed to be a required argument, but not changing that at this point.
* | Merge branch 'PHP-8.0'Nikita Popov2021-02-091-2/+2
|\ \ | |/ | | | | | | * PHP-8.0: Make getElementsByTagNameNS $namespace nullable
| * Make getElementsByTagNameNS $namespace nullableNikita Popov2021-02-091-2/+2
| | | | | | | | | | According to the DOM specification, this argument is supposed to be nullable.
* | Generate class entries for a few extensionsMáté Kocsis2021-02-031-12/+19
| | | | | | | | Relates to GH-6644
* | Add support for generating class entries from stubsMáté Kocsis2021-01-261-0/+2
|/ | | | | | Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* Add support for generating methodsynopses from stubsMáté Kocsis2020-12-281-1/+1
| | | | Closes GH-6367
* Fix bug #80537Nikita Popov2020-12-211-1/+1
| | | | | | | | This is an unavoidable breaking change to both the type and parameter name. The assertion that was supposed to prevent this was overly lax and accepted any object type for string parameters.
* Promote warnings to error in DOM extensionGeorge Peter Banyard2020-09-221-2/+2
| | | | Closes GH-5418
* Display types in stubs more uniformlyMáté Kocsis2020-09-161-3/+2
| | | | | | In preparation for generating method signatures for the manual. This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.
* Add all the missing parameter types to stubsMáté Kocsis2020-08-131-17/+17
| | | | Closes GH-5955
* Consolidate Parameter Names For ext/domBenjamin Eberlei2020-07-271-45/+45
| | | | Co-authored-by: Thomas Weinert <thomas@weinert.info>
* Remove spurious return true from DOMXPath::registerPhpFunctions()Nikita Popov2020-07-171-1/+1
| | | | | Only one of three identical cases returned true, and the function is documented to return void. Remove the outlier.
* Use string|array type in DOMXPath::registerPhpFunctions()Nikita Popov2020-07-171-5/+2
|
* Introduce InternalIteratorNikita Popov2020-06-241-3/+7
| | | | | | | | | | | | | | | | | | | Userland classes that implement Traversable must do so either through Iterator or IteratorAggregate. The same requirement does not exist for internal classes: They can implement the internal get_iterator mechanism, without exposing either the Iterator or IteratorAggregate APIs. This makes them usable in get_iterator(), but incompatible with any Iterator based APIs. A lot of internal classes do this, because exposing the userland APIs is simply a lot of work. This patch alleviates this issue by providing a generic InternalIterator class, which acts as an adapater between get_iterator and Iterator, and can be easily used by many internal classes. At the same time, we extend the requirement that Traversable implies Iterator or IteratorAggregate to internal classes as well. Closes GH-5216.
* Fix [-Wundef] warning in DOM extensionGeorge Peter Banyard2020-05-161-3/+3
|
* Fix UNKNOWN default values in various extensionsMáté Kocsis2020-05-051-4/+3
| | | | Closes GH-5514
* Generate method entries for ext/domMáté Kocsis2020-04-131-0/+433
Closes GH-5374