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

ID: 18872
Comment by: drunkenstranger@gmail.com
Reported By: drunkenstranger at gmail dot com
Summary: Class tree puts comma uncorrectly in interfaces list
Status: Open
Type: Bug
Package: PhpDocumentor
Operating System: Windows XP
Package Version: SVN
PHP Version: 5.2.12
Roadmap Versions:
New Comment:

This patch works only for HTML:frames converter (you can fix another
manually - just replace original getRootTree method).

Also this patch fixes:
http://pear.php.net/bugs/bug.php?id=18870
http://pear.php.net/bugs/bug.php?id=18871


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

[2011-09-25 09:58:49] drunkenstranger

Added #patch bug:18872;patch:classtree-fix.patch;revision:1316941129;.

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

[2011-09-25 09:38:10] drunkenstranger

Description:
------------
Class tree puts comma uncorrectly in interfaces list.

Test script:
---------------
<?php
/** Test file for MyPackage2 class tree
* @package MyPackage */

/** @package MyPackage */
interface MyInterface {}

/** @package MyPackage */
interface MyInterface2 {}

/** @package MyPackage */
interface MyInterface3 {}

/** @package MyPackage */
class MyClass implements MyInterface, MyInterface2, MyInterface3 {}


/** @package MyPackage */
class MyClass2 extends MyClass {}

?>

Expected result:
----------------
Root class MyClass

MyClass (implements MyInterface, MyInterface2, MyInterface3)
MyClass2


Actual result:
--------------
Root class MyClass

MyClass (implements MyInterface, MyInterface2MyInterface3)
MyClass2

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 25, '11 at 7:59a
activeSep 25, '11 at 7:59a
posts1
users1
websitepear.php.net

1 user in discussion

Drunkenstranger: 1 post

People

Translate

site design / logo © 2022 Grokbase