Function Opening Brace Whitespace

The opening brace for functions should be on a new line with no blank lines surrounding it.

Valid: Opening brace is on a new line.

function foo() <em>{</em> }

Invalid: Opening brace is on the same line as the function declaration.

function foo() <em>{</em> }

Valid: No blank lines after the opening brace.

function foo() { <em> return 42;</em> }

Invalid: A blank line after the opening brace.

function foo() { <em></em> return 42; }