cvs: php-gtk / CODING_STANDARDS
| From: | Steph Fox | Date: | Wed, 26 Oct 2005 13:22:17 +0000 |
| Subject: | cvs: php-gtk / CODING_STANDARDS | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-1961@lists.php.net to get a copy of this message | ||
sfox Wed Oct 26 09:22:17 2005 EDT
Modified files:
/php-gtk CODING_STANDARDS
Log:
'Naming conventions' should be where the intro says.
http://cvs.php.net/diff.php/php-gtk/CODING_STANDARDS?r1=1.1&r2=1.2&ty=u
Index: php-gtk/CODING_STANDARDS
diff -u php-gtk/CODING_STANDARDS:1.1 php-gtk/CODING_STANDARDS:1.2
--- php-gtk/CODING_STANDARDS:1.1 Wed Oct 26 09:14:30 2005
+++ php-gtk/CODING_STANDARDS Wed Oct 26 09:22:16 2005
@@ -15,6 +15,10 @@
Overview:
+File formats:
+ ISO-8859-1, text/ASCII, Unix line endings, single line feed after
+ content.
+
Indenting and line length:
No tabs, indent 4 spaces, aim to hard wrap at 78 characters (the PEAR
CS suggests 75 to 85 is 'safe', but in documentation it may not be).
@@ -95,6 +99,3 @@
Global variables: We can't emulate PEAR completely here, but we can stay
with the idea of prefixing global variable names with an underscore and
an uppercased identifier, e.g. $_MYCLASS_global_varname.
-
-File formats:
- ISO-8859-1, text/ASCII, Unix line endings, single line feed after content.