I am looking for a command line utility that can clean up PHP syntax.
For example:
if (something){
do_something();
if(something) {
do_something();
}}
This is impossible to work on, so I need something that will convert the entire script to this:
if (something){
do_something();
if(something) {
do_something();
}
}
Any help appreciated, THANKS!