Create coding-standards.markdown
This commit is contained in:
24
doc/tr_TR/coding-standards.markdown
Normal file
24
doc/tr_TR/coding-standards.markdown
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
Kodlama standartları
|
||||||
|
================
|
||||||
|
|
||||||
|
PHP kodu
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Girinti: 4 spaces
|
||||||
|
- Satır sonu: Unix => `\n`
|
||||||
|
- Kodlama: UTF-8
|
||||||
|
- Şablonlar için sadece `<?php` veya `<?=` açık tag kullanın, ancak **asla** `<?` kullanmayın
|
||||||
|
- Yöntemler ve sınıf özellikleri için daima PHPdoc yorumlarını yaz
|
||||||
|
- Kodlama stili: [PSR-1](http://www.php-fig.org/psr/psr-1/) ve [PSR-2](http://www.php-fig.org/psr/psr-2/)
|
||||||
|
|
||||||
|
JavaScript kodu
|
||||||
|
---------------
|
||||||
|
|
||||||
|
- Girinti: 4 spaces
|
||||||
|
- Satır sonu: Unix => `\n`
|
||||||
|
|
||||||
|
CSS kodu
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Girinti: 4 spaces
|
||||||
|
- Satır sonu: Unix => `\n`
|
||||||
Reference in New Issue
Block a user