FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=11543&edit=1

ID: 11543
Updated by: demon.gene@gmail.com
Reported By: ken at linux dot ie
Summary: empty @todo tags/comments shouldn't be included in
TODO list
-Status: Verified
+Status: Closed
Type: Bug
Package: PhpDocumentor
Operating System: Ubuntu Linux
Package Version: 1.3.2
PHP Version: 5.1.2
-Assigned To:
+Assigned To: ashnazg
-Roadmap Versions: 1.5.0a1
+Roadmap Versions: 1.4.4
New Comment:

-Status: Verified
+Status: Closed
-Assigned To:
+Assigned To: ashnazg
-Roadmap Versions: 1.5.0a1
+Roadmap Versions: 1.4.4
Empty TODOs will no longer appear on the overall TODO index listing.
However, I'm leaving them visible on the individual elements' docs, so
that they remain noticeable.


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

[2007-07-06 11:05:14] ashnazg

This scenario should result in a warning on the Errors page, without
showing the empty TODO on either the element's doc page or the overall
TODO index list.

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

[2007-07-06 10:58:16] kguest

Description:
------------
empty @todo tags/comments shouldn't be included in TODO list. Empty in
this context is defined as lack of printable characters.


/**
* Pet Project.
* 06-Jul-2007
*
* PHP version 5
*
* @category Foo
* @package Foo
* @access public
* @author Ken Guest <kguest@php.net>
* @license GPL (see http://www.gnu.org/licenses/gpl.txt)
* @link foo.class.php
* @todo
*/


Test script:
---------------
<?php
/**
* Pet Project.
* 06-Jul-2007
*
* PHP version 5
*
* @category Foo
* @package Foo
* @access public
* @author Ken Guest <kguest@php.net>
* @license GPL (see http://www.gnu.org/licenses/gpl.txt)
* @link foo.class.php
* @todo
*/
?>

Expected result:
----------------
would not expect to see entry for the above in the generated TODO list
that phpdoc generates.

Actual result:
--------------
todo list looks like:

Foo
foo.class.php

*

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 13, '09 at 2:45a
activeOct 13, '09 at 2:45a
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase