summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions_arginfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Require stubs to declare return types for magic methods when possibleMáté Kocsis2020-10-231-3/+4
| | | | Closes GH-6376
* Improve default value handling of Exception constructorsMáté Kocsis2020-09-211-5/+5
| | | | Closes GH-6166
* Add support for `@implementation-alias` in stubsMáté Kocsis2020-09-211-1/+1
| | | | Closes GH-6170
* Include stub hash in generated arginfo filesNikita Popov2020-06-241-1/+2
| | | | | | | | | | | | The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
* Ensure Exception::getFile/getLine return type is correctNikita Popov2020-05-281-30/+30
| | | | | | | | | These return an untyped protected property, so we can't rely on the type being correct. Also add return types to the interface -- normally this would be a no-go, but Throwable is a special interface that can only be implemented internally, so we control all implementations.
* Generate method entries from stubs for Zend classesMáté Kocsis2020-04-261-9/+135
| | | | Closes GH-5459
* Store default parameter values of internal functions in arg infoMáté Kocsis2020-04-081-6/+6
| | | | | | | Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* Define Stringable with __toString():string methodNicolas Grekas2020-03-021-3/+2
|
* Add Zend class/interface arginfo stubsChristoph M. Becker2019-10-151-0/+55
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()`.