Re: [RFC] [Vote] #[\Deprecated] attribute
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 <[email protected]>
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.
>
Thread (21 messages)