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

Request #11618 @uses privateMember should suppress itself when--parseprivate OFF
Submitted: 2007-07-16 21:02 UTC
From: ashnazg Assigned: ashnazg
Status: Wont fix Package: PhpDocumentor (version 1.4.0RC2)
PHP Version: 5.2.3 OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 18 - 6 = ?

 
 [2007-07-16 21:02 UTC] ashnazg (Chuck Burgess)
Description: ------------ When the element listed in a @uses tag is a private element, and the --parseprivate flag is set OFF, then the USES tag gets displayed showing the name of the private member, though obviously it does not link to that element's docs (since there was no doc created for that element). In this scenario, I'd prefer the USES tag completely suppress itself, since it cannot point me to any other useful doc (its element is not documented), but mostly because it's telling my users about an element I didn't want them to see (-pp off). Test script: --------------- <?php /** * test file for enhancement * @package BugReports */ /** * class A */ class A { /** * @var int * @access private */ private $privateVar = 0; /** * @access public * @uses $privateVar */ public publicMethod() { return $this->privateVar; } } ?> Expected result: ---------------- Class A Description * access: public Located in /newbug.php (line 9) Actual result: -------------- Class A Description * access: public * uses: $privateVar Located in /newbug.php (line 9)

Comments

 [2012-09-01 02:27 UTC] ashnazg (Chuck Burgess)
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: ashnazg -Roadmap Versions: 1.5.0a1 +Roadmap Versions:
No more feature work on phpDocumentor 1.x. Check out the new phpDocumentor 2.x (http://www.phpdoc.org/).