Tim Düsterhus
342e18f105
Support the actual #[\SensitiveParameter]
attribute in stubs ( #8836 )
2022-07-12 12:43:44 +02:00
Pierrick Charron
6fd2b39397
Indent with TAB in .h files generated by gen_stub
2022-06-13 08:55:54 -04:00
Tim Düsterhus
176a484df2
Mark parameter in ext/imap as sensitive
2022-06-13 11:09:12 +02:00
Máté Kocsis
e7d482d896
Declare ext/imap constants in stubs ( #8715 )
2022-06-06 13:08:32 +02:00
Christoph M. Becker
df5e95b4d1
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix #81649 : imap_(un)delete accept sequences, not single numbers
2021-11-25 18:31:14 +01:00
Christoph M. Becker
179030d167
Fix #81649 : imap_(un)delete accept sequences, not single numbers
...
As such, the parameter name `$message_num` is utmost misleading; it
should be `$message_nums` as for other functions.
Closes GH-7686.
2021-11-25 18:29:43 +01:00
Máté Kocsis
2378f35787
Use single line phpdoc in stubs where possible
2021-07-20 13:16:56 +02:00
Joe Watkins
570d9b63e9
Not serializable flag permeation
2021-07-20 12:28:35 +02:00
Máté Kocsis
b382883696
Indent stubs inside global namespace blocks ( #7261 )
2021-07-20 10:23:58 +02:00
George Peter Banyard
27d40da95d
Convert IMAPConnection to IMAP\Connection
2021-05-05 14:22:43 +01:00
Máté Kocsis
bf0f6aaf18
Improve class entry generation
...
Related to GH-6701
2021-02-16 13:09:56 +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
98fb565c74
Generate class entries from stubs for another batch of extensions
...
Closes GH-6669
2021-02-08 19:53:55 +01:00
Christoph M. Becker
b30462bead
Merge branch 'PHP-8.0'
...
* PHP-8.0:
Fix imap stubs
2021-01-03 16:20:01 +01:00
Christoph M. Becker
aab23282fc
Fix imap stubs
...
Closes GH-6559.
2021-01-03 16:15:46 +01:00
George Peter Banyard
4935fbe90f
Update hash for IMAP stubs after adding final qualifier
2020-12-23 21:56:31 +01:00
George Peter Banyard
383779e502
Convert IMAP resource to object
...
Closes GH-6418
2020-12-22 03:06:35 +01:00
Christoph M. Becker
8d4774a2df
Change parameters types from int to bool
...
These are typical boolean parameters, so we shouldn't advertize them as
integers. For the `$reverse` parameter that even fixes expectations,
because the `reverse` member is a bitfield of 1 bit, so assigning any
even integer would not set it.
Closes GH-6328.
2020-10-12 23:10:13 +02:00
Christoph M. Becker
45c19bde22
Change imap_mail_compose() $body param to $bodies
...
This parameter actually expects an array of bodies, so we should name
it accordingly.
Closes GH-6313.
2020-10-10 17:39:54 +02:00
Nikita Popov
e0f2ac9ff6
Update ext/imap parameter names
...
Closes GH-6299.
2020-10-08 18:02:09 +02:00
George Peter Banyard
5d7d5e2773
Add proper default values for optional arguments in IMAP
...
Closes GH-6179
2020-09-22 17:46:28 +01:00
Máté Kocsis
36fd95b524
Generate arginfos
2020-09-16 21:28:27 +02:00
Máté Kocsis
c76910cd96
Display types in stubs more uniformly
...
In preparation for generating method signatures for the manual.
This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.
2020-09-16 21:19:36 +02:00
Máté Kocsis
79981a394e
Add a bunch of missing argument types to stubs
2020-08-03 00:45:51 +02:00
Nikita Popov
c9b9f525a9
Include stub hash in generated arginfo files
...
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.
2020-06-24 09:55:19 +02:00
Máté Kocsis
3709e74b5e
Store default parameter values of internal functions in arg info
...
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>
2020-04-08 18:37:51 +02:00
Máté Kocsis
5322de1ba8
Generate functions entries from stubs for another set of extensions
...
Closes GH-5351
2020-04-05 00:59:44 +02:00
Máté Kocsis
736b22dc0b
Add stubs for aliases
...
Closes GH-5187
2020-02-18 21:10:36 +01:00
Máté Kocsis
c58b12334d
Add union return types with one class
2019-11-18 12:44:38 +01:00
Máté Kocsis
27e83d0fb8
Add union return types for function stubs
2019-11-11 14:54:55 +01:00
Stephen Reay
01bdc68379
Added arginfo stubs for IMAP extension
2019-09-22 19:25:55 +02:00