Re: [RFC] [Vote] #[\Deprecated] attribute
| From: | Marco Pivetta | Date: | Wed, 22 May 2024 07:39:15 +0000 |
| Subject: | Re: [RFC] [Vote] #[\Deprecated] attribute | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123399@lists.php.net to get a copy of this message | ||
Hey Benjamin,
I voted against it:
* I very much like having reflection methods that work on internal symbols
relying on
#[\Deprecated]. I can rely on these in my static analysis
tooling, test suites, decorators, dependency injection tools, etc.
* I am still disagree with abusing global runtime effects (E_DEPRECATED /
E_USER_DEPRECATED) to signal deprecations. Insert "PTSD Chihuaua" meme
here regarding PHP and library upgrades I had to work on over the last
decade. No: don't want. Don't add side-effects to otherwise functionally
pure code.
Marco Pivetta
https://mastodon.social/@ocramius
https://ocramius.github.io/
On Wed, 22 May 2024 at 09:23, Benjamin Außenhofer <kontakt@beberlei.de>
wrote:
> The vote for the RFC #[\Deprecated] attribute is now open:
>
> https://wiki.php.net/rfc/deprecated_attribute
>
> Voting will close on Wednesday 5th June, 08:00 GMT.
>