[PEAR-BUG] Doc #16888 [Opn]: User note that is a documentation problem

[email protected] Fri, 24 Jun 2011 18:26:38 +0100 (BST)
Newsgroups php.pear.doc
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=16888&edit=1

 ID:               16888
 Updated by:       [email protected]
 Reported By:      cweiske at php dot net
 Summary:          User note that is a documentation problem
 Status:           Open
 Type:             Documentation Problem
 Package:          Documentation
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 Roadmap Versions: 
 New Comment:

What is the correct answer here? How should they be formatted? Also as
rquadling notes, what are the coding 
standards for closures?


Previous Comments:
------------------------------------------------------------------------

[2009-12-08 14:00:57] cweiske

> What's the expected outcome here?
Update/clarification of the standards document.

------------------------------------------------------------------------

[2009-12-08 13:58:35] doconnor

What's the expected outcome here?

------------------------------------------------------------------------

[2009-12-08 11:06:47] rquadling

I think closures with use() also fall into this question (for
standards.classdef.php).

------------------------------------------------------------------------

[2009-12-08 00:14:57] cweiske

Manual page: standards.classdef.php
Note submitter:
christian dot evolutioncv at googlemail dot com

What about 'extends', how should they be formatted?

1:
class foo extends bar
{
}

2:
class foo
extends bar
{
}

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16888&edit=1