On Friday, 5 July 2024 at 18:11, Claude Pache <claude.pa...@gmail.com> wrote:
> * For each deprecation, it would be nice to provide explicitly the text of > the deprecation notice so that we can guarantee that it will be helpful for > users, see https://github.com/php/php-src/issues/14320 Considering that until recently, [1] there was no way to provide a message for functions that were deprecated, this was not a consideration. We are adding more useful messages for prior deprecations in a PR right now, [2] but the format of it hasn't been finalized yet, thus I don't think adding it to the RFC at this point is useful. This is something to take into account for next year's RFC, but the implementation of those deprecation is expected to have more useful messages. > * I don’t see the point of deprecating DOMImplementation::getFeature() > instead of just removing it? “DOMImplementation::getFeature() is deprecated, > throw manually an Error exception instead.” Just removing it makes sense, I'll talk to Niels about it, to change what the vote is actually about. Best regards, Gina P. Banyard [1] https://wiki.php.net/rfc/deprecated_attribute [2] https://github.com/php/php-src/pull/14750