Edit report at http://pear.php.net/bugs/bug.php?id=18870&edit=1
ID: 18870
Comment by: drunkenstranger@gmail.com
Reported By: drunkenstranger at gmail dot com
Summary: Class tree wont shows implemented interfaces if class
has no childs
Status: Open
Type: Bug
Package: PhpDocumentor
Operating System: Windows XP
Package Version: SVN
PHP Version: 5.2.12
Roadmap Versions:
New Comment:
Patch here:
http://pear.php.net/bugs/bug.php?id=18872
Previous Comments:
------------------------------------------------------------------------
[2011-09-25 09:31:24] drunkenstranger
Description:
------------
Class tree wont shows implemented interfaces if class has no childs.
Test script:
---------------
<?php
/** Test file for MyPackage2 class tree
* @package MyPackage */
/** @package MyPackage */
interface MyInterface {}
/** @package MyPackage */
class MyClass implements MyInterface {}
?>
Expected result:
----------------
Root interface MyInterface
MyInterface
Root class MyClass
MyClass (implements MyInterface)
Actual result:
--------------
Root interface MyInterface
MyInterface
Root class MyClass
MyClass
------------------------------------------------------------------------