[PHP-CVS] cvs: php-src(PHP_5_1) / CODING_STANDARDS

2005-12-22 Thread Marcus Boerger
helly   Thu Dec 22 20:27:11 2005 EDT

  Modified files:  (Branch: PHP_5_1)
/php-srcCODING_STANDARDS 
  Log:
  \# Damn !
  
http://cvs.php.net/viewcvs.cgi/php-src/CODING_STANDARDS?r1=1.32.4.2&r2=1.32.4.3&diff_format=u
Index: php-src/CODING_STANDARDS
diff -u php-src/CODING_STANDARDS:1.32.4.2 php-src/CODING_STANDARDS:1.32.4.3
--- php-src/CODING_STANDARDS:1.32.4.2   Thu Dec 22 20:24:46 2005
+++ php-src/CODING_STANDARDSThu Dec 22 20:27:11 2005
@@ -210,7 +210,7 @@
 Testing
 ---
 
-[1] Extensions should be well tested using *.phpt tests. REad about that
+[1] Extensions should be well tested using *.phpt tests. Read about that
 in README.TESTING.
 
 Documentation and Folding Hooks

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_5_1) / CODING_STANDARDS

2005-12-22 Thread Marcus Boerger
helly   Thu Dec 22 20:24:46 2005 EDT

  Modified files:  (Branch: PHP_5_1)
/php-srcCODING_STANDARDS 
  Log:
  - MFH Point to README.TESTING
  
http://cvs.php.net/viewcvs.cgi/php-src/CODING_STANDARDS?r1=1.32.4.1&r2=1.32.4.2&diff_format=u
Index: php-src/CODING_STANDARDS
diff -u php-src/CODING_STANDARDS:1.32.4.1 php-src/CODING_STANDARDS:1.32.4.2
--- php-src/CODING_STANDARDS:1.32.4.1   Sun Nov 27 11:06:07 2005
+++ php-src/CODING_STANDARDSThu Dec 22 20:24:46 2005
@@ -207,6 +207,12 @@
 indent preprocessor directives you should put the # at the beginning
 of a line, followed by any number of whitespace.
 
+Testing
+---
+
+[1] Extensions should be well tested using *.phpt tests. REad about that
+in README.TESTING.
+
 Documentation and Folding Hooks
 ---
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-CVS] cvs: php-src(PHP_5_1) / CODING_STANDARDS

2005-11-27 Thread Marcus Boerger
helly   Sun Nov 27 06:06:07 2005 EDT

  Modified files:  (Branch: PHP_5_1)
/php-srcCODING_STANDARDS 
  Log:
  - MFH Synch with what we decided for 5 and what we are practicing since 5
  
http://cvs.php.net/diff.php/php-src/CODING_STANDARDS?r1=1.32&r2=1.32.4.1&ty=u
Index: php-src/CODING_STANDARDS
diff -u php-src/CODING_STANDARDS:1.32 php-src/CODING_STANDARDS:1.32.4.1
--- php-src/CODING_STANDARDS:1.32   Fri Jan 30 05:15:24 2004
+++ php-src/CODING_STANDARDSSun Nov 27 06:06:07 2005
@@ -148,20 +148,19 @@
 '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
 --

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php