cvs: phpdoc /scripts/docgen docgen.php
| From: | Jakub Vrana | Date: | Tue, 06 Jan 2009 14:46:40 +0000 |
| Subject: | cvs: phpdoc /scripts/docgen docgen.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2939@lists.php.net to get a copy of this message | ||
vrana Tue Jan 6 14:46:40 2009 UTC
Modified files:
/phpdoc/scripts/docgen docgen.php
Log:
Missing </section>
http://cvs.php.net/viewvc.cgi/phpdoc/scripts/docgen/docgen.php?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/scripts/docgen/docgen.php
diff -u phpdoc/scripts/docgen/docgen.php:1.13 phpdoc/scripts/docgen/docgen.php:1.14
--- phpdoc/scripts/docgen/docgen.php:1.13 Wed Dec 31 06:40:11 2008
+++ phpdoc/scripts/docgen/docgen.php Tue Jan 6 14:46:40 2009
@@ -16,7 +16,7 @@
| Authors: Felipe Pena <felipe@php.net> |
+----------------------------------------------------------------------+
- $Id: docgen.php,v 1.13 2008/12/31 06:40:11 philip Exp $
+ $Id: docgen.php,v 1.14 2009/01/06 14:46:40 vrana Exp $
*/
if (!(extension_loaded('reflection') & extension_loaded('pcre'))) {
@@ -242,7 +242,7 @@
$count++;
}
$markup .= str_repeat(' ', $ident + 1) ."</variablelist>\n";
- $markup .= str_repeat(' ', $ident) ."</para>\n";
+ $markup .= str_repeat(' ', $ident) ."</para>";
$content = preg_replace('/\{PARAMETERS_DESCRIPTION\}/', $markup, $content, 1);
}
@@ -370,7 +370,7 @@
$markup .= str_repeat(' ', $ident + 2) ."<variablelist>\n\n";
foreach ($constants as $constant => $value) {
- $markup .= str_repeat(' ', $ident + 3) .'<varlistentry
xml:id="'. $id .".constants.none\">\n";
+ $markup .= str_repeat(' ', $ident + 3) .'<varlistentry
xml:id="'. $id .".constants.". format_id($constant) ."\">\n";
$markup .= str_repeat(' ', $ident + 4) .'<term><constant>'.
$class->getName() .'::'. $constant ."</constant></term>\n";
$markup .= str_repeat(' ', $ident + 4) ."<listitem>\n";
$markup .= str_repeat(' ', $ident + 5) ."<para>Description
here...</para>\n";
@@ -379,6 +379,7 @@
}
$markup .= str_repeat(' ', $ident + 2) ."</variablelist>\n";
+ $markup .= str_repeat(' ', $ident + 1) ."</section>\n";
$markup .= str_repeat(' ', $ident) ."</section>\n";
$markup .= "<!-- }}} -->\n";
@@ -756,7 +757,7 @@
switch ($opt) {
case 'v':
case 'version':
- printf("%s\n", '$Revision: 1.13 $');
+ printf("%s\n", '$Revision: 1.14 $');
break;
case 'V':
case 'verbose':