phpmd.org
The only PHP code I've ever felt was not headache inducing was that in which the coder was attempting to use a functional paradigm as much as possible.
Reply on news.ycombinator.com