On 09/17/2013 05:21 PM, David Deutsch wrote:
Alright, got the first round in rather quickly, Alec commented some more two days ago and I just pushed through a couple more commits.
Some small issues to discuss
var a, b, c, d = '', e = [], f = this.env.something;
or
var a, b, c, d = '', e = [], f = this.env.something;
I prefer the latter. "Simple assignments" here are assignments to empty string, array or number.
No new lines in short (2-line only?) code blocks
if (is_array($user)) { $user = array_filter($user); $var = something(); }
In my opinion this is correct formatting. No new line before the second line of the code inside {} brackets when it's variable assignment or break/continue/return statement or unset().
Last thing. After each pull request is accepted we'd like them to be re-created before merge, the way we end up with only one commit per PR.