From 6e592f032f10e512258d7bae77fe36df46f54608 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 3 May 2012 01:46:52 +0400 Subject: [PATCH] added info about function braces to code style --- docs/code_style.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/code_style.md b/docs/code_style.md index ad3863f..d3b1bfb 100644 --- a/docs/code_style.md +++ b/docs/code_style.md @@ -152,6 +152,7 @@ It's preferrable to define class level constants rather than global ones. - Name should be descriptive by itself indicating the purpose of the function. - Class methods should always declare visibility using `private`, `protected` and `public` modifiers. `var` is not allowed. +- Opening brace of a function should be on the line after the function declaration. ~~~ /**