Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generate zend class entries based on stubs | Máté Kocsis | 2021-02-14 | 1 | -1/+1 |
| | | | | Closes GH-6685 | ||||
* | Fix stub for Serializable::serialize() | Michael Voříšek | 2021-01-28 | 1 | -1/+1 |
| | | | | This method may also return null. | ||||
* | Update ext/spl parameter names | Nikita Popov | 2020-10-07 | 1 | -1/+1 |
| | | | | Closes GH-6284. | ||||
* | Add a few missing parameter types in stubs | Máté Kocsis | 2020-07-30 | 1 | -6/+8 |
| | | | | Related to GH-5627 | ||||
* | Introduce InternalIterator | Nikita Popov | 2020-06-24 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Generate method entries from stubs for Zend classes | Máté Kocsis | 2020-04-26 | 1 | -0/+2 |
| | | | | Closes GH-5459 | ||||
* | Add missing visibility modifiers in stubs | Máté Kocsis | 2020-04-11 | 1 | -14/+14 |
| | |||||
* | Verify that all stubs have a return type | Nikita Popov | 2020-04-03 | 1 | -0/+7 |
| | |||||
* | Define Stringable with __toString():string method | Nicolas Grekas | 2020-03-02 | 1 | -0/+5 |
| | |||||
* | Add Zend class/interface arginfo stubs | Christoph M. Becker | 2019-10-15 | 1 | -0/+51 |
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()`. |