Basically, when I script and don't feel like hand-styling it myself, I'll use RC's /style.
But there's two problems; the for () and @= don't style properly.
for () example:
BEFORE
PHP Code:
function onCreated(){
for (temp.foo: this.foo){
doStuff(temp.foo);
}
}
AFTER
PHP Code:
function onCreated(){
for (temp.foo: this.foo){
doStuff(temp.foo);
}
}
@= example:
BEFORE
PHP Code:
function onCreated(){
temp.foo @= this.foo;
}
AFTER
PHP Code:
function onCreated(){
temp.foo @ = this.foo;
}