Re: cvs: phpdoc /scripts xml_proto.php

From: Date: Thu, 08 Sep 2005 19:31:40 +0000
Subject: Re: cvs: phpdoc /scripts xml_proto.php
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370010@lists.php.net to get a copy of this message
Jakub Vrana wrote:
fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" .
-       '<!-- $Revision: 1.34 $ -->'."\n" .
+       '<!-- $Revision: 1.35 $ -->'."\n" .
+       "<!-- Purpose:  -->\n" .
+       "<!-- Membership:  -->\n" .
        "<!-- Generated by xml_proto.php v" . $version . ". Found in /scripts directory of phpdoc. -->\n" .
        "<reference id=\"ref." . $extension_name . "\">\n" .
        " <title>$extension_name Functions</title>\n" .
@@ -244,7 +246,7 @@
     $functype = trim($funclist[$i]["function_type"]);
fwrite($fp, '<?xml version="1.0" encoding="iso-8859-1"?>'."\n" .
-               '<!-- $Revision: 1.34 $ -->'."\n" .
+               '<!-- $Revision: 1.35 $ -->'."\n" .
                "<!-- Generated by xml_proto.php v" . $version . ". Found in /scripts directory of phpdoc. -->\n" .
                "<refentry id=\"function." . $fixname . "\">\n" .
                " <refnamediv>\n" .
I guess those revision comments should be the revision number of the generated file not the revision number from xml_proto.php itself. So this should be '<!-- $Revision: 1.1 $ -->'."\n" . instead '<!-- $Revision: 1.35 $ -->'."\n" .
Thats not a problem, as cvs will replace them. Nuno

« previous php.doc (#969370010) next »