summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.stub.php
Commit message (Collapse)AuthorAgeFilesLines
* Generate zend class entries based on stubsMáté Kocsis2021-02-141-1/+1
| | | | Closes GH-6685
* Zend parameter renames amendmentMáté Kocsis2020-09-291-1/+1
| | | | Closes GH-6228
* Use proper parameter type in Closure::bindTo() signatureNikita Popov2020-09-211-4/+6
|
* Separate Closure::bind() implementationsMáté Kocsis2020-09-191-4/+1
| | | | | | | | Closure::bind() and Closure::bindTo() are currently reported as aliases in stubs because they have a single implementation. They are not aliases in fact though, they just use zend_parse_method_parameters() cleverly. Thus, let's separate their implementation so that we don't have to alias Closure::bindTo() anymore. This will also have the advantage that the two ZPP implementations become more clear. Closes GH-6169
* Fix bug #78770Nikita Popov2020-08-141-2/+1
| | | | | | | Refactor the zend_is_callable implementation to check callability at a particular frame (this is an implementation detail for now, but could be exposed in the API if useful). Pick the first parent user frame as the one to check.
* Add a few missing parameter types in stubsMáté Kocsis2020-07-301-1/+1
| | | | Related to GH-5627
* Cleanup argument handling of Zend functions and methodsMáté Kocsis2020-07-211-6/+10
| | | | Closes GH-5847
* Annotate internal functions with the mixed typeMáté Kocsis2020-05-251-2/+1
| | | | Closes GH-5618
* Generate method entries for ClosureMáté Kocsis2020-05-191-10/+8
|
* Add missing visibility modifiers in stubsMáté Kocsis2020-04-111-4/+4
|
* Verify that all stubs have a return typeNikita Popov2020-04-031-0/+1
|
* Support single class unions in gen stubsNikita Popov2019-11-151-2/+5
|
* Add Zend class/interface arginfo stubsChristoph M. Becker2019-10-151-0/+17
We also change `Generator::throw()` to expect a `Throwable` in the first place, and we now throw a TypeError instead of returning `false` from `Exception::getTraceAsString()`.