summaryrefslogtreecommitdiff
path: root/CODING_STANDARDS
diff options
context:
space:
mode:
authorMark A. Hershberger <mah@debian.(none)>2009-03-25 00:34:59 -0400
committerMark A. Hershberger <mah@debian.(none)>2009-03-25 00:34:59 -0400
commitce7edc9b3c7370f32fec0bc7a8ec3e29ed9a5f61 (patch)
treeacdb9a8816483652a9db1a47db71df5df43707c5 /CODING_STANDARDS
parent10f5b47dc7c1cf2b9a00991629f43652710322d3 (diff)
downloadphp-ce7edc9b3c7370f32fec0bc7a8ec3e29ed9a5f61.tar.gz
Imported Upstream version 5.1.1upstream/5.1.1
Diffstat (limited to 'CODING_STANDARDS')
-rw-r--r--CODING_STANDARDS13
1 files changed, 6 insertions, 7 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS
index ff26a8985..3a266ba4a 100644
--- a/CODING_STANDARDS
+++ b/CODING_STANDARDS
@@ -148,20 +148,19 @@ Naming Conventions
'buildsomewidget'
'getI()'
-[7] Classes should be given descriptive names. Avoid using abbreviations
- where possible. Each word in the class name should start with a capital
- letter, with words underscore delimited. The class name should be prefixed
- with the name of the 'parent set'.
+[7] Classes should be given descriptive names. Avoid using abbreviations where
+ possible. Each word in the class name should start with a capital letter,
+ without underscore delimiters (CampelCaps starting with a capital letter).
+ The class name should be prefixed with the name of the 'parent set' (e.g.
+ the name of the extension).
Good:
'Curl'
- 'Foo_Bar'
+ 'FooBar'
Bad:
'foobar'
'foo_bar'
- 'FooBar'
-
Syntax and indentation
----------------------