Re: [RFC] [Discussion] #[\Deprecated] for traits
| From: | Tim Düsterhus | Date: | Sun, 06 Jul 2025 11:20:03 +0000 |
| Subject: | Re: [RFC] [Discussion] #[\Deprecated] for traits | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127915@lists.php.net to get a copy of this message | ||
Hi
On 7/6/25 01:30, Daniel Scherzer wrote:
I'd like to start the discussion for a new RFC about adding support for #[\Deprecated] on traits. * RFC: https://wiki.php.net/rfc/deprecated_traits * Implementation: https://github.com/php/php-src/pull/19045Thank you. That makes sense to me. On a first look, I agree that
useing a trait is the single and obvious point where the message for a deprecated trait should be emitted and can't think of anything else.
Best regards
Tim Düsterhus