Include documentation in the application

This commit is contained in:
Frederic Guillot
2015-08-29 20:00:53 -04:00
parent ef087f5e22
commit 6c711f696f
135 changed files with 285 additions and 38 deletions

View File

@@ -0,0 +1,24 @@
Coding standards
================
PHP code
--------
- Indentation: 4 spaces
- Line return: Unix => `\n`
- Encoding: UTF-8
- Use only the opening tags `<?php` or `<?=` for templates, but **never** use `<?`
- 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`