Tim Düsterhus
5544be7018
RFC: Marking return values as important (#[\NoDiscard]) ( #17599 )
...
RFC: https://wiki.php.net/rfc/marking_return_value_as_important
Co-authored-by: Volker Dusch <volker@tideways-gmbh.com>
2025-04-02 09:35:29 +02:00
Benjamin Eberlei
72c874691b
RFC: Add #[\Deprecated]
Attribute ( #11293 )
...
see https://wiki.php.net/rfc/deprecated_attribute
Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com>
Co-authored-by: Ilija Tovilo <ilija.tovilo@me.com>
2024-07-02 09:44:25 +02:00
Máté Kocsis
3906bccc00
Add support for typed class constants in stubs
2023-07-01 11:50:04 +02:00
Tim Düsterhus
49ef6e209d
RFC: Add #[Override] attribute ( #9836 )
...
* Add #[Override] attribute
* Move #[\Override] tests into Zend/tests/attributes/override/
* Check `check_only` before removing `ZEND_ACC_OVERRIDE`
* NEWS/UPGRADING for #[\Override]
2023-06-29 20:23:53 +02:00
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
Bob Weinand
9f29e2d7e9
Allow for arbitrary (class) attributes in stubs
...
This can be easily extended to other types of attributes.
Closes #8839 .
2022-07-05 18:23:05 +02:00
Tim Düsterhus
9085197734
Implement the "Redacting parameters in back traces" RFC
...
https://wiki.php.net/rfc/redact_parameters_in_back_traces
2022-04-08 10:36:16 +02:00
Nikita Popov
902d64390e
Deprecate implicit dynamic properties
...
Writing to a proprety that hasn't been declared is deprecated,
unless the class uses the #[AllowDynamicProperties] attribute or
defines __get()/__set().
RFC: https://wiki.php.net/rfc/deprecate_dynamic_properties
2021-11-26 14:10:11 +01:00
Máté Kocsis
532c60cb92
Add support for tentative return types of internal methods
...
RFC: https://wiki.php.net/rfc/internal_method_return_types
Closses GH-6971
2021-05-14 15:55:25 +02:00
Máté Kocsis
6ce70447ac
Generate zend class entries based on stubs
...
Closes GH-6685
2021-02-14 23:18:28 +01:00
Martin Schröder
053ef28b8d
Implement Attribute Amendments.
...
RFC: https://wiki.php.net/rfc/attribute_amendments
Support for attribute grouping is left out, because the short
attribute syntax RFC will likely make it obsolete.
Closes GH-5751.
2020-06-29 10:45:51 +02:00