I suggest using git hooks to automate code reviews for team development.
I used a pre-commit hook to check the code on the local repository and post-receive hook to check code on remote repository.
More information about the project you can see on the page Drupal Code Quality (Previously git_hooks)
This can be configured to scan code at the time it is committed and warn about any coding violations. It can be helpful in team environments or for training. A remote hook that does the same can be added at your repository end that can actively refuse to accept 'bad' code.