PHP Lint has got  your back