Bug #66644 [NEW]: Remove ()'s when rending methodname in constructorsynopsis/destrutorsynopsis
| From: | salathe@php.net | Date: | Tue, 04 Feb 2014 21:15:04 +0000 |
| Subject: | Bug #66644 [NEW]: Remove ()'s when rending methodname in constructorsynopsis/destrutorsynopsis | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10945@lists.php.net to get a copy of this message | ||
From: salathe@php.net
Operating system:
PHP version: Irrelevant
Package: Doc Build problem
Bug Type: Bug
Bug description:Remove ()'s when rending methodname in constructorsynopsis/destrutorsynopsis
Description:
------------
Bug #51750 (Add ()'s when rendering methodname elements) was fixed back
in 2010 (thanks bjori!).
The fix involved adding parentheses after methodname, when they occur
outside of methodsysnopsis. Unfortunately, this applies the parentheses
inside constructorsynopsis/destructorsynopsis elements, resulting in
exactly the "silly" output mentioned in that bug.
Expected result:
----------------
Foo::__construct (string $string)
Actual result:
--------------
Foo::__construct() (string $string)
--
Edit bug report at https://bugs.php.net/bug.php?id=66644&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66644&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66644&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66644&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66644&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66644&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66644&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66644&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66644&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66644&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66644&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66644&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66644&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66644&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66644&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66644&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66644&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66644&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66644&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66644&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66644&r=mysqlcfg