Máté Kocsis
e328c68305
Rename @cname to @cvalue in stubs ( #9043 )
...
@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as @cvalue would be more appropriate.
2022-07-19 15:11:42 +02:00
Máté Kocsis
facddfdccb
Declare ext/calendar constants in stubs ( #8630 )
2022-05-25 12:11:15 +02:00
Máté Kocsis
d02b9b953d
Add more specific array return type hints for various extensions - part 1
...
ext/bz2, ext/calendar, ext/dba, ext/enchant
Closes GH-7432
2021-11-07 08:46:25 +01:00
Máté Kocsis
99b08ac281
Implicitly enable function entry generation when class entry generation is enabled
...
Closes GH-6675
2021-02-09 13:37:24 +01:00
Máté Kocsis
5f21062054
Generate class entries for a few extensions
...
Relates to GH-6644
2021-02-03 09:24:09 +01:00
Nikita Popov
f21b160984
Update ext/calendar parameter names
...
Closes GH-6277.
2020-10-06 11:26:05 +02:00
Máté Kocsis
089d8cb03c
Convert UNKNOWN default values to null in ext/calendar
2020-05-02 11:05:27 +02:00
Máté Kocsis
7c3078737f
Generate function entries from stubs for a couple of extensions
...
Closes GH-5347
2020-04-04 20:41:48 +02:00
Máté Kocsis
27e83d0fb8
Add union return types for function stubs
2019-11-11 14:54:55 +01:00
Christoph M. Becker
7816df2c57
Elevate warnings to ValueErrors in ext/calendar
...
All of these warnings/ValueErrors are due to programming errors, i.e.
calling a function with unsupported arguments.
2019-10-31 08:49:15 +01:00
Christoph M. Becker
913a449b27
Remove generic type annotations
...
Cf. <https://github.com/php/php-src/commit/de69a9d3ebad41da9bc7c59f836bb141f0af70f8#r35675846 >.
2019-10-26 16:24:53 +02:00
Nikita Popov
52d31bf139
Don't perform coercions in internal func return type assertion
...
The returned value must match the specified type exactly, as we
can't perform any coercions in non-debug builds.
Fix incorrect stub for easter_date() that slipped through the
assertion for this reason...
2019-09-03 12:16:04 +02:00
Simon Podlipsky
3b2329dae9
Add Calendar ext PHP stubs
...
Closes GH-4552.
2019-08-20 15:15:52 +02:00