The Code Checker plugin was recently updated for Moodle 3.0. Tightly focused in its application, the Code Checker is a well used tool that uses a PHP sniffer to check the code you’ve written against Moodle’s official coding style.
As detailed on Moodle.org, the plugin displays any potential errors in your coding on screen in a format that allows you to easily identify location and necessary corrections:
How do you make sure that your development work is accepted by Moodle? Tell us about your tips and tricks in the comments below!