This shows you the differences between two versions of the page.
|
coding_guidelines [2009/04/26 16:37] admin |
coding_guidelines [2009/04/26 16:41] (current) admin |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Innomatic adopts the [[http://framework.zend.com/manual/en/coding-standard.html|Zend Coding Standard]], with little modifications only. Contributors should adhere to this standard. | Innomatic adopts the [[http://framework.zend.com/manual/en/coding-standard.html|Zend Coding Standard]], with little modifications only. Contributors should adhere to this standard. | ||
| + | |||
| + | [[Continuous Integration|Innomatic continuous integration infrastructure]] checks the adherence to the Zend Coding Standard with [[http://pear.php.net/package/PHP_CodeSniffer|PHP_CodeSniffer]]. | ||
| Since Innomatic development started in 1999 and various, better coding standard were adopted in the years, you can find a mix of different styles inside Innomatic code. The core development team is involved in a continuous effort to improve the coding style and change the old code format to the Zend standard one. | Since Innomatic development started in 1999 and various, better coding standard were adopted in the years, you can find a mix of different styles inside Innomatic code. The core development team is involved in a continuous effort to improve the coding style and change the old code format to the Zend standard one. | ||
| Line 10: | Line 12: | ||
| * **Class and class file naming**: since Innomatic started years ago with a different classes names layout and we are near to the PHP namespace support, Innomatic class and class file names doesn't contain the class path / namespace. | * **Class and class file naming**: since Innomatic started years ago with a different classes names layout and we are near to the PHP namespace support, Innomatic class and class file names doesn't contain the class path / namespace. | ||
| - | |||
| - | |||