Is there a static analysis tool for PHP source files?
The binary itself can check for syntax errors, but I'm looking for something that does more, like:
- unused variable assignments
- arrays that are assigned into without being initialized first
- and possibly code style warnings
- ...