Bug #17433 [Opn]: Method arguments names imported with dollar sign
| From: | ohlesbeauxjours at yahoo dot fr | Date: | Wed, 26 May 2010 19:38:37 +0000 |
| Subject: | Bug #17433 [Opn]: Method arguments names imported with dollar sign | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3804@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17433&edit=1
ID: 17433
Updated by: ohlesbeauxjours@yahoo.fr
Reported By: schkovich at gmail dot com
Summary: Method arguments names imported with dollar sign
Status: Open
Type: Bug
Package: PHP_UML
Operating System: Ubuntu 10.04
Package Version: 1.5.2
PHP Version: 5.3.2
Roadmap Versions:
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2010-05-26 19:13:42] schkovich
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 14:14:10] kguest
Is this even with using the "--no-dollar" argument on the command line?
------------------------------------------------------------------------
[2010-05-25 14:54:29] schkovich
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
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17433&edit=1