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

Bug #17433 Method arguments names imported with dollar sign
Submitted: 2010-05-25 18:54 UTC
From: schkovich Assigned: baptiste
Status: Bogus Package: PHP_UML (version 1.5.2)
PHP Version: 5.3.2 OS: Ubuntu 10.04
Roadmaps: (Not assigned)    
Subscription  


 [2010-05-25 18:54 UTC] schkovich (Goran Miškovi?)
Description: ------------ Method parameters are imported with dollar sign: $bar Test script: --------------- <?php /** * Foos some buzz around */ class Foo { /** * Buzzing around * * @param string $bar * @return string */ public function buzz($bar) { return "My $bar"; } } ?> Expected result: ---------------- Parameter name should be bar Actual result: -------------- Parameter name is $baz

Comments

 [2010-05-26 18:14 UTC] kguest (Ken Guest)
Is this even with using the "--no-dollar" argument on the command line?
 [2010-05-26 23:13 UTC] schkovich (Goran Miskovic)
Ouch! I did not run phpuml -h :( With --no-dollar switch everything works perfectly well. Even when knowing that I am looking for --no-dollar switch it was hard to spot it in section Special Switches. I think that on the Command line interface page all options and switches should be at least listed. For example: Following switches are available <list of switches > You will find more details on each by asking for help, like this: .... Therefore I've changed Bug Type to Documentation Problem.
 [2010-05-26 23:38 UTC] baptiste (Baptiste Autin)
Thanks for that second precision, that spares me any further investigation ! You are absolutely right, I must complete the Command line interface page. I'll do this asap. Baptiste
 [2010-05-26 23:49 UTC] schkovich (Goran Miskovic)
I already added a note listing all options to the Command line interface page.
 [2010-05-28 00:32 UTC] baptiste (Baptiste Autin)
uh... where did you add this note ? I don't see anything modified in http://svn.php.net/repository/pear/peardoc/trunk/en/package/php/php-uml/command-line.xml ??
 [2010-05-28 03:06 UTC] schkovich (Goran Miskovic)
I added note to that page. I have no idea what have happened. Anyways, here is suggested text: Following options and switches are available: -o directory -f format, --format=format -x XMI version -n name -e encoding --no-deployment-view --no-component-view --no-dollar --no-docblocks --show-internal --only-api -i pattern, --ignore=pattern -m pattern, --match=pattern -l errorLevel, --error-level=errorLevel --pure-object -h, --help -v, --version Type phpuml -h to find more details on each.
 [2010-06-03 05:16 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: baptiste
 [2010-10-02 01:24 UTC] baptiste (Baptiste Autin)
-Status: Assigned +Status: Bogus
Sorry, but your problem does not imply a bug in PEAR itself. For a list of more appropriate places to ask for help using PEAR, please visit http://pear.php.net/support/ as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PEAR. Your comment finally appeared in the doc !