Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 501 Bytes

coding-standards.markdown

File metadata and controls

23 lines (17 loc) · 501 Bytes

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 and 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