Bug #8104 [Opn->Bgs]: Possible documentation flaw.
| From: | wiesemann@php.net | Date: | Mon, 03 Jul 2006 07:52:49 +0000 |
| Subject: | Bug #8104 [Opn->Bgs]: Possible documentation flaw. | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-8129@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=8104&edit=1
ID: 8104
Updated by: wiesemann@php.net
Reported By: aeolianmeson at blitzeclipse dot com
-Status: Open
+Status: Bogus
Id: 8104
Type: Bug
Package: Documentation
PHP Version: 5.1.2
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PEAR.
---
This was already reported in bug #7977.
Previous Comments:
------------------------------------------------------------------------
[2006-07-03 01:42:22] aeolianmeson at blitzeclipse dot com
Description:
------------
This isn't a coding issue, but this was the method prescribed from the
documentation page.
On the 'Function Definitons' page in 'Coding Standards', it states that
function definitions are to use Whitesmith indentation, where such is as
the following:
function fooFunction($arg1, $arg2 = '')
{
if (condition) {
statement;
}
return $val;
}
This is however, the Allman style. Whitesmith style, is:
function test(a, b)
{
call1();
}
The difference is the spacing in the principle indents.
I might be wrong. In that case, I am just requesting clarification.
References follow below.
Dustin
References:
http://www.komputado.com/eseoj/1tbs.htm
http://en.wikipedia.org/wiki/Indent_style#BSD.2FAllman_style
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=8104&edit=1