Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0a1

Bug #14159 PhpDocumentor doesn't detect interfaces in @subpackage
Submitted: 2008-06-17 07:15 UTC
From: maxhorvath Assigned: ashnazg
Status: Wont fix Package: PhpDocumentor
PHP Version: 5.2.6 OS: Ubuntu 8.04 x86_64
Roadmaps: (Not assigned)    
Subscription  


 [2008-06-17 07:15 UTC] maxhorvath (Max Horvath)
Description: ------------ PhpDocumentor correctly detects and "documents" interfaces. But as soon as you start to use @subpackage in an interface, it will be displayed as a class in the documentation.

Comments

 [2009-07-21 21:32 UTC] ashnazg (Chuck Burgess)
-Roadmap Versions: +Roadmap Versions: 1.4.3
 [2009-10-12 01:54 UTC] ashnazg (Chuck Burgess)
-Status: Open +Status: Feedback -Assigned To: +Assigned To: ashnazg
This seems to work fine for me, using this test file: <?php /** * @package bug-14159 */ /** * @package bug-14159 */ class Foo implements IFoo {} /** * @package bug-14159 * @subpackage subs */ class Subfoo implements SubIFoo {} /** * @package bug-14159 */ interface IFoo {} /** * @package bug-14159 * @subpackage subs */ interface SubIFoo {} ?> This results in this left-side menu (via HTML:Smarty:HandS template): - bug-14159 - Packages: - bug-14159 - Files: - bug-14159.php - Interfaces: - IFoo - subs - SubIFoo - Classes: - Foo - subs - Subfoo I tested this using PhpDocumentor v1.4.3 with PHP 5.2.6 on Ubuntu Jaunty (9.04) x86_64. Max, can you try my test file in your environment to see if it works properly? Also, what output converter are you using?
 [2009-11-24 02:31 UTC] ashnazg (Chuck Burgess)
Max, any luck with my trying my test file?
 [2009-11-25 20:02 UTC] nevstokes (Nev Stokes)
I'm on PHP 5.2.11, phpDoc 1.4.3, OS X 10.5.8 and this (analogous to the test case) doesn't work for me. Getting the same issue as the OP. <?php /** * @package Bug */ /** * @package Bug * @subpackage Subpackage */ class ContextFacade implements iContextFacade {} /** * @package Bug * @subpackage Subpackage */ interface iContextFacade {} ?>
 [2011-09-29 19:12 UTC] ashnazg (Chuck Burgess)
-Status: Feedback +Status: Open
 [2011-12-01 03:29 UTC] ashnazg (Chuck Burgess)
-Roadmap Versions: 1.4.4 +Roadmap Versions: 1.4.5
 [2012-01-13 08:32 UTC] ashnazg (Chuck Burgess)
-Status: Assigned +Status: Open
 [2012-09-01 02:34 UTC] ashnazg (Chuck Burgess)
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: ashnazg -Roadmap Versions: 1.4.5 +Roadmap Versions:
No more feature work on phpDocumentor 1.x. Check out the new phpDocumentor 2.x (http://www.phpdoc.org/).