summaryrefslogtreecommitdiff
path: root/docs/coding-standards.markdown
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-07 11:27:46 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-07 11:27:46 -0400
commit86928e37bced3d99f5cc2f449fb458c2344fd317 (patch)
treec703c69367d514811acd37210be89b451aaede37 /docs/coding-standards.markdown
parentcfe69443b7c82e09f764efbc30da45013dc1c77f (diff)
Add comment creation form to the task summary page (pull-request #300)
Diffstat (limited to 'docs/coding-standards.markdown')
-rw-r--r--docs/coding-standards.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/coding-standards.markdown b/docs/coding-standards.markdown
index a6975190..e0e762db 100644
--- a/docs/coding-standards.markdown
+++ b/docs/coding-standards.markdown
@@ -7,6 +7,7 @@ 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.