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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-17 18:53 UTC] moacir@php.net
fixed in 0.9
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 10 05:05:46 2022 UTC