I have worked on Java projects for quite a while and in these projects, we used tools like Findbugs, Checkstyle and PMD to identify different potential types of errors as well as to check if the respective source code complies with coding rules.
A few days back, I decided to do a small project (for a friend of mine) using ExpressionEngine and PHP. Since it’s been quite a while since I used PHP, I’m wondering how you identify potential errors as well as check if the respective source code complies with coding rules in your ExpressionEngine/PHP projects? Do you use any tools? Do you automate web tests? Do you have code conventions?