Skip to content
connortechnology edited this page Dec 15, 2014 · 4 revisions

Currently the code is a bit of mess in the respect, as the files have not been changed to conform to what we have decided to use. However, as we go forward we will try to conform to these rules.

Tabs/Spaces:

We will use tabs. This allows those of us who like 4 space tabs to coexist happily with those of us who like 8. Also the files will be slightly smaller.

Braces/Code blocks:

Conditional structures, loops etc, will place the trailing brace on the same line as the conditional, unless the conditional is really complex and the use of alternate spacing helps the readability.

eg: if ( blah ) { ... }

instead of if ( blah ) { ... }

PHP Short Tags:

We will not use them.

Clone this wiki locally