I'm stuck trying to figure out how to set PhpStorm's code style so the Format Code command produced sensible results.
I put the problem on a gist: https://gist.github.com/3303986
// On my mac, cmd-opt-L reformats my php files according to the code style in effect.
// The following is how PhpStorm auto-formats this statement.
// What do I have to set in the code style so it comes out right?
&& $_SESSION['two'] >= 2
&& $_SESSION['four'] !== '0'