Add some doc for contributors

This commit is contained in:
Frédéric Guillot
2014-08-18 17:55:09 -07:00
parent 995a1a262a
commit 5da8cf8a8f
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
Coding standards
================
PHP code
--------
- Indentation: 4 spaces
- Line return: Unix => `\n`
- Encoding: UTF-8
- Always write PHPdoc comments for methods and class properties
- Coding style: Try to follow [PSR-1](http://www.php-fig.org/psr/psr-1/) and [PSR-2](http://www.php-fig.org/psr/psr-2/) otherwise follow the actual style.
Javascript code
---------------
- Indentation: 4 spaces
- Line return: Unix => `\n`
CSS code
--------
- Indentation: 4 spaces
- Line return: Unix => `\n`