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

ID: 18870
Updated by: demon.gene@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:
+Roadmap Versions: 1.4.4
New Comment:

-Roadmap Versions:
+Roadmap Versions: 1.4.4



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

[2011-09-25 10:03:35] drunkenstranger

Patch here:
http://pear.php.net/bugs/bug.php?id=18872

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

[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

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

Search Discussions

  • Demon Gene at Oct 12, 2011 at 6:53 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18870&edit=1

    ID: 18870
    Updated by: demon.gene@gmail.com
    Reported By: drunkenstranger at gmail dot com
    Summary: Class tree wont shows implemented interfaces if class
    has no childs
    -Status: Open
    +Status: Verified
    Type: Bug
    Package: PhpDocumentor
    Operating System: Windows XP
    Package Version: SVN
    PHP Version: 5.2.12
    -Assigned To:
    +Assigned To: ashnazg
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Verified
    -Assigned To:
    +Assigned To: ashnazg
    Verified this behavior using v1.4.3 against PHP 5.3.8 and 5.2.17.
    Refined the test case to show both the bug behavior and correct
    behavior. Also verified that the issue is irrelevant when using PHP
    4.4.9.


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

    [2011-10-07 21:11:30] ashnazg

    -Roadmap Versions:
    +Roadmap Versions: 1.4.4


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

    [2011-09-25 10:03:35] drunkenstranger

    Patch here:
    http://pear.php.net/bugs/bug.php?id=18872

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

    [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

    ------------------------------------------------------------------------
  • Demon Gene at Oct 14, 2011 at 3:16 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18870&edit=1

    ID: 18870
    Updated by: demon.gene@gmail.com
    Reported By: drunkenstranger at gmail dot com
    Summary: Class tree wont shows implemented interfaces if class
    has no childs
    -Status: Verified
    +Status: Closed
    Type: Bug
    Package: PhpDocumentor
    Operating System: Windows XP
    Package Version: SVN
    PHP Version: 5.2.12
    Assigned To: ashnazg
    Roadmap Versions:
    New Comment:

    -Status: Verified
    +Status: Closed
    Followed the concept of the provided patch to pull interface handling
    outside of the child class handling logic. Tests good on PHP 5.3.8,
    5.2.17, and 4.4.9 to solve the interface listing issues in the class
    list view. Committed to SVN.


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

    [2011-10-12 20:54:31] ashnazg

    -Status: Open
    +Status: Verified
    -Assigned To:
    +Assigned To: ashnazg
    Verified this behavior using v1.4.3 against PHP 5.3.8 and 5.2.17.
    Refined the test case to show both the bug behavior and correct
    behavior. Also verified that the issue is irrelevant when using PHP
    4.4.9.

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

    [2011-10-07 21:11:30] ashnazg

    -Roadmap Versions:
    +Roadmap Versions: 1.4.4


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

    [2011-09-25 10:03:35] drunkenstranger

    Patch here:
    http://pear.php.net/bugs/bug.php?id=18872

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

    [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

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 7, '11 at 7:10p
activeOct 14, '11 at 3:16a
posts3
users1
websitepear.php.net

1 user in discussion

Demon Gene: 3 posts

People

Translate

site design / logo © 2022 Grokbase