(07-19-2021, 05:02 AM)MGatner Wrote: We are working on a framework-wide implementation for handling use of deprecated features. This would definitely be the kind of approach it would take.
I don’t use an IDE so I obviously don’t have this problem - but how much of an issue is it really? I was under the impression you just got a little flag saying “deprecated” or something.
Anyone have references for best practices or other framework handling did deprecating a parameter while leaving the method/function?
Sorry for the necro, but it seems the way to possibly deprecate the parameter is to overload the function without the parameter, then keep the deprecation notice on this one but not on the overloaded function... nevermind, I just realized that overloading in php is ... a-typical.
https://www.php.net/manual/en/language.o...oading.php