How can I check my extensions for deprecated Joomla! API code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is to be done on a development machine, not on the production website!
The most basic way to check for deprecated code is to enable the System Debug Plugin and to enable the option “Log deprecated API”.
After this in logs/deprecated.php you will find the entries.
Now, there will be lots of deprecated code loged and you need to identify it in your code.
A complementary option would be to use an IDE like Eclipse + PDT where you can get this info while you are coding: