Code:
if($this) {
that
}
else {
this
}
loops(conditions)
{
this
}
function / class
{
here
}
For me it depends on how much code I'm putting between the curlies. If and else's I always use the same style, but for the others, if I'm only putting three lines, I use Style 1, if I'm putting lots of code, I use Style 2.