I am seeking a Linux or PHP program to automate code formatting. Optimally it would handle many languages, but the priority is (highest first): PHP, JavaScript, HTML, CSS and MySQL. Comparability is nice, but not the most important feature.
Context / use: automation via Subversion post-commit. I'm working with teams and want to always follow a single method of formatting.