Background:
PHPDoc ( http://www.phpdoc.org/ ) is a brilliant tool for extracting html documentation of your classes or methods from comments in your files. Adding PHPDoc comments also has other advantages - if you use an IDE like Zend or Netbeans, it will use the PHPDocs to show you autocompletion tips.
Most Issue trackers have a feature where you can commit into your version control system with a special comment, and it will automatically link that commit to that issue.
So here's what I want in a system: I commit some code with a special comment, my issue tracker links it to an issue. It then looks at the commit and works out what Methods and Classes I have changed. It then says "If you are looking for documentation around this issue, try these bits of PHPDoc: ClassX.FunctionY, ClassZ.VariableP". It automatically points users to documentation that might be relevant. I think this would be a great feature.
Question:
So the piece that is missing is something to take a PHP code diff, and work out what classes and methods have changed. Anyone got any pointers on some code that can do that?
Thanks in advance, James