Re: [RFC] [Discussion] #[\Deprecated] attribute again v1.3
| From: | Rowan Tommins [IMSoP] | Date: | Thu, 25 Apr 2024 21:47:17 +0000 |
| Subject: | Re: [RFC] [Discussion] #[\Deprecated] attribute again v1.3 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123212@lists.php.net to get a copy of this message | ||
On 25 April 2024 22:01:35 BST, Mike Schinkel <mike@newclarity.net> wrote:
>> On Apr 25, 2024, at 11:28 AM, Rowan Tommins [IMSoP] <imsop.php@rwec.co.uk> wrote:
>> If the project has no clear deprecation policy, the information is useless anyway.
>
>Not true.
>
>Having standardized notation for deprecation would allow tooling to analyze a codebase and
>determine if it contains deprecated code that needs to be remediated without having to run the code
>with full coverage.
I think you missed the context of that sentence - or I'm missing something in yours. I meant
specifically that the "deprecated since" information is useless if there's no
published policy on how long something will stay deprecated.
I think the "deprecated" attribute itself is definitely useful.
Regards,
Rowan Tommins
[IMSoP]