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/19045
Thank you. That makes sense to me. On a first look, I agree that `use`ing 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