[PEAR-BUG] Bug #16577 [Asn->Csd]: Documentation incorrect

[email protected]
Newsgroups php.pear.doc
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=16577&edit=1

 ID:               16577
 Updated by:       [email protected]
 Reported By:      brandon at brandonsavage dot net
 Summary:          Documentation incorrect
-Status:           Assigned
+Status:           Closed
 Type:             Bug
 Package:          Documentation
 Operating System: N/A
 PHP Version:      5.3.0
 Assigned To:      ashnazg
 Roadmap Versions: 
 New Comment:

-Status: Assigned
+Status: Closed
Given that no keyword expansion property is set on this file in SVN,
using plain "$Id$" should suffice.

Corrections committed to SVN.


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

[2009-09-10 01:26:31] ashnazg

-Status: Duplicate
+Status: Open
Considering that the PHP bug is against PhD, I presume its scope is
with how PhD is handling the CDATA closing/opening.  As such, reopening
this bug in order to fix the peardoc file itself, so the PHP bug can
remain open for PhD's handling issue.

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

[2009-09-09 04:22:47] ashnazg

-Status:      Open
+Status:      Duplicate
-Assigned To:
+Assigned To: ashnazg
Duplicate of PHP bug #47679... will work the issue on that older bug
report.

Thanks for spotting the issue and opening the PEAR bug though, Brandon.

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

[2009-09-07 21:19:05] brandon

Description:
------------
I was reading through the PEAR documentation today, and I noticed
something that looked incorrect in two places.

On both http://pear.php.net/manual/en/standards.header.php and
http://pear.php.net/manual/en/standards.sample.php there is a code
sample that contains the following:

* @copyright  1997-2005 The PHP Group
* @license    http://www.php.net/license/3_01.txt  PHP License 3.01
* @version    SVN: <?php
$
?> Id:$
* @link       http://pear.php.net/package/PackageName
* @see        NetOther, Net_Sample::Net_Sample()
* @since      File available since Release 1.2.0

I'm thinking this is incorrect, because the class is defined without
reopening the <?php tag. Since the class is defined after this point, it
wouldn't work in PHP.

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


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16577&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.