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

ID: 18871
Updated by: demon.gene@gmail.com
Reported By: drunkenstranger at gmail dot com
Summary: Class tree wont shows internal PHP interfaces
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:30] drunkenstranger

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

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

[2011-09-25 09:34:52] drunkenstranger

Description:
------------
Class tree wont shows internal PHP interfaces.

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

/** @package MyPackage */
class MyClass implements Countable {}

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

?>

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

MyClass (implements Countable)
MyClass2


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

MyClass (implements )
MyClass2

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

Search Discussions

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

    ID: 18871
    Updated by: demon.gene@gmail.com
    Reported By: drunkenstranger at gmail dot com
    Summary: Class tree wont shows internal PHP interfaces
    -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.

    Further, I found that *any* kind of interface is not visible in this
    scenario when using the HTML:Smarty:HandS converter. The
    HTML:frames:default converter shows a user-defined interface properly,
    while failing to show an internal interface (as reported by this bug).


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

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

    -Roadmap Versions:
    +Roadmap Versions: 1.4.4


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

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

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

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

    [2011-09-25 09:34:52] drunkenstranger

    Description:
    ------------
    Class tree wont shows internal PHP interfaces.

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

    /** @package MyPackage */
    class MyClass implements Countable {}

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

    ?>

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

    MyClass (implements Countable)
    MyClass2


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

    MyClass (implements )
    MyClass2

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

    ID: 18871
    Updated by: demon.gene@gmail.com
    Reported By: drunkenstranger at gmail dot com
    Summary: Class tree wont shows internal PHP interfaces
    -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 21:32:08] 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.

    Further, I found that *any* kind of interface is not visible in this
    scenario when using the HTML:Smarty:HandS converter. The
    HTML:frames:default converter shows a user-defined interface properly,
    while failing to show an internal interface (as reported by this bug).

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

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

    -Roadmap Versions:
    +Roadmap Versions: 1.4.4


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

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

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

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

    [2011-09-25 09:34:52] drunkenstranger

    Description:
    ------------
    Class tree wont shows internal PHP interfaces.

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

    /** @package MyPackage */
    class MyClass implements Countable {}

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

    ?>

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

    MyClass (implements Countable)
    MyClass2


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

    MyClass (implements )
    MyClass2

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

Related Discussions

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

1 user in discussion

Demon Gene: 3 posts

People

Translate

site design / logo © 2022 Grokbase