News Archive
PhpRiot Newsletter
Your Email Address:

More information

Howto write a Rule for PHPMD

Note: This article was originally published at Planet PHP on 21 March 2011.
Planet PHP
This blog post will give you a detailed introduction into the development of custom PHPMD rules. PHPMD is static code analysis tool that helps to improve the quality of PHP software projects. Therefore it processes the project's source code and searches for known error patterns, design flaws, overcomplicated expressions and unused/dead code. You would like to use like PHPMD to improve the quality of your project, but you are missing a features in the current release, then you should read this post. Because this blog post will give a detailed description how to write and configure PHPMD with own rules for.