 <p>What you need is a static code analysis tool for PHP. Then you need to configure Jenkins to launch that tool.</p> <p>There are tons available.</p> <p>Here is a question listing many static code analysis tools for PHP:<br> <strong><a href="http://stackoverflow.com/questions/378959/is-there-a-static-code-analyzer-like-lint-for-php-files">Is there a static code analyzer [like Lint] for PHP files?</a></strong></p> <p>Here is a question about linking one of those (PHP Code Sniffer) with Jenkins:<br> <strong><a href="http://stackoverflow.com/questions/16673963/using-jenkins-and-php-code-sniffer">Using Jenkins and Php Code Sniffer</a></strong></p>