php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49124 PhD no longer links <type>s
Submitted: 2009-07-31 19:42 UTC Modified: 2009-09-17 18:53 UTC
From: hannes dot magnusson at gmail dot com Assigned: moacir (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hannes dot magnusson at gmail dot com
New email:
PHP Version: OS:

 

 [2009-07-31 19:42 UTC] hannes dot magnusson at gmail dot com
Description:
------------
PhD 0_4 links to "unknown types" (<types>) in some cases (methodsynopsis for example), such as "callback" and classnames.

This doesn't seem to be the case in Enterprise PhD anymore.


Reproduce code:
---------------
  <methodsynopsis>
   <type>DOMNode</type><methodname>DOMNode::insertBefore</methodname>
   <methodparam><type>DOMNode</type><parameter>newnode</parameter></methodparam>
   <methodparam choice="opt"><type>DOMNode</type><parameter>refnode</parameter></methodparam>
  </methodsynopsis>


Expected result:
----------------
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="class.domnode.php" class="type DOMNode">DOMNode</a></span> <span class="methodname"><b>DOMNode::insertBefore</b></span>
    ( <span class="methodparam"><span class="type"><a href="class.domnode.php" class="type DOMNode">DOMNode</a></span> <tt class="parameter">$newnode</tt></span>

   [, <span class="methodparam"><span class="type"><a href="class.domnode.php" class="type DOMNode">DOMNode</a></span> <tt class="parameter">$refnode</tt></span>
  ] )</div>


Actual result:
--------------
  <div class="methodsynopsis dc-description">
    <span class="type">DOMNode</span> DOMNode::insertBefore
    ( <span class="methodparam"> <span class="type">DOMNode</span>  <tt class="parameter">$newnode</tt></span>

   [, <span class="methodparam"> <span class="type">DOMNode</span>  <tt class="parameter">$refnode</tt></span>
  ] )</div>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-17 18:53 UTC] moacir@php.net
fixed in 0.9
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC