summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSencar TOSUN <siberaktif@gmail.com>2016-12-29 10:05:50 +0300
committerGitHub <noreply@github.com>2016-12-29 10:05:50 +0300
commit024d45c8c16eae3b4da91c280815a51cf902f6e6 (patch)
tree5d371ace12bc4dd0f6bb9a348853a93e1a03c734 /doc
parent5678c56829d23674024b440a29bc66a774779b8b (diff)
Create coding-standards.markdown
Diffstat (limited to 'doc')
-rw-r--r--doc/tr_TR/coding-standards.markdown24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/tr_TR/coding-standards.markdown b/doc/tr_TR/coding-standards.markdown
new file mode 100644
index 00000000..f7d192a6
--- /dev/null
+++ b/doc/tr_TR/coding-standards.markdown
@@ -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`