RE: [PHP-PEAR] Coding Standards: Syntax and identation
| From: | Sterling Hughes | Date: | Sun, 03 Dec 2000 07:20:54 +0000 |
| Subject: | RE: [PHP-PEAR] Coding Standards: Syntax and identation | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-476@lists.php.net to get a copy of this message | ||
><[4] When indenting, use the tab character. A tab is expected to
>represent
>< four spaces. It is important to maintain consistency in indenture
>so
>< that definitions, comments, and control structures line up
>correctly.
>
>I used tabs with a width of 2 spaces in PHPDoc, was that a good idea?
Nooooooooooo!!!!!!!!!!!!!!!!! ;)
Also the CODING_STANDARDS file is pretty much meant only for C code, not PHP
code.
Check out http://pear.php.net/doc/pear.html for more
information regarding
PEAR code... (not complete yet)
-Sterling
--
PHP Extension and Add-on Repository (PEAR) mailing list.
Documentation can be found at http://pear.php.net/doc/pear.html
To unsubscribe, e-mail: php-pear-unsubscribe@lists.php.net from the
mail address you subscribed with.