I've recently started revamping and re-releasing some abandoned (yet important) WordPress plugins. As I walk through the code patching other bugs, my IDE highlights deprecated function calls for me, which is fantastic!
I fix them immediately when I find them and move on.
Anything I don't catch is called out by a Log Deprecated Calls plugin or by setting WP_DEBUG
to true.
But both of these approaches are highly ineffective. With one, I need to actually open the PHP file and manually scan through each line of code looking for a deprecated call. With the other, I need to wait for the deprecated call to be invoked by WP before it's flagged by the system.
Is there an easier way or some tool I can use that scans through WP plugins and themes and identifies any use of deprecated functionality?