Edit report at https://pear.php.net/bugs/bug.php?id=14159&edit=1
ID: 14159
Updated by: demon.gene@gmail.com
Reported By: info at maxhorvath dot com
Summary: PhpDocumentor doesn't detect interfaces in
@subpackage
Status: Assigned
Type: Bug
Package: PhpDocumentor
Operating System: Ubuntu 8.04 x86_64
PHP Version: 5.2.6
Assigned To: ashnazg
-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5
New Comment:
-Roadmap Versions: 1.4.4
+Roadmap Versions: 1.4.5
Previous Comments:
------------------------------------------------------------------------
[2011-09-29 15:12:19] ashnazg
-Status: Feedback
+Status: Open
------------------------------------------------------------------------
[2009-11-25 15:02:41] nevstokes
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 {}
?>
------------------------------------------------------------------------
[2009-11-23 21:31:34] ashnazg
Max, any luck with my trying my test file?
------------------------------------------------------------------------
[2009-10-11 21:54:16] ashnazg
-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-07-21 17:32:39] ashnazg
-Roadmap Versions:
+Roadmap Versions: 1.4.3
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=14159