summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.stub.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove a few more unnecessary @generate-function-entries annotationsMáté Kocsis2021-02-091-4/+1
|
* Add support for generating class entries from stubsMáté Kocsis2021-01-261-2/+45
| | | | | | Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
* Require stubs to declare return types for magic methods when possibleMáté Kocsis2020-10-231-3/+7
| | | | Closes GH-6376
* Improve default value handling of Exception constructorsMáté Kocsis2020-09-211-3/+3
| | | | Closes GH-6166
* Add support for `@implementation-alias` in stubsMáté Kocsis2020-09-211-11/+11
| | | | Closes GH-6170
* Ensure Exception::getFile/getLine return type is correctNikita Popov2020-05-281-12/+6
| | | | | | | | | 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-14/+76
| | | | Closes GH-5459
* Add missing visibility modifiers in stubsMáté Kocsis2020-04-111-19/+19
|
* Verify that all stubs have a return typeNikita Popov2020-04-031-0/+1
|
* Define Stringable with __toString():string methodNicolas Grekas2020-03-021-6/+2
|
* Add Zend class/interface arginfo stubsChristoph M. Becker2019-10-151-0/+68
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()`.