Re: RFC: coding standards document
| From: | Ulf Wendel | Date: | Tue, 05 Dec 2000 17:23:13 +0000 |
| Subject: | Re: RFC: coding standards document | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-553@lists.php.net to get a copy of this message | ||
Chuck Hagenbuch wrote:
> Attached is a revised PEAR coding standards document, with some changes due to
> feedback, a few sections revised for clarity, and a few more examples.
Is this a request for comment or a standard...
> -------------
> [1] Indenting
> =============
> Use an indent of 4 spaces, with no tabs. If you use Emacs to edit PEAR
Tabs, size: 4 spaces as for the PHP C code.
> ------------------------
> [4] Function Definitions
> ========================
>
> Function declaractions follow the "one true brace" convention:
> function fooFunction($arg1, $arg2 = '')
> {
function fooFunction($arg1, $arg2 = '') {
:)
Ulf