cvs: phpdoc /scripts/docgen docgen.php

From: Date: Fri, 14 Nov 2008 18:00:47 +0000
Subject: cvs: phpdoc /scripts/docgen docgen.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2525@lists.php.net to get a copy of this message
bjori Fri Nov 14 18:00:47 2008 UTC Modified files: /phpdoc/scripts/docgen docgen.php Log: Use correct newline char http://cvs.php.net/viewvc.cgi/phpdoc/scripts/docgen/docgen.php?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/scripts/docgen/docgen.php diff -u phpdoc/scripts/docgen/docgen.php:1.5 phpdoc/scripts/docgen/docgen.php:1.6 --- phpdoc/scripts/docgen/docgen.php:1.5 Fri Nov 14 16:07:50 2008 +++ phpdoc/scripts/docgen/docgen.php Fri Nov 14 18:00:47 2008 @@ -16,7 +16,7 @@ | Authors: Felipe Pena <felipe@php.net> | +----------------------------------------------------------------------+ - $Id: docgen.php,v 1.5 2008/11/14 16:07:50 felipe Exp $ + $Id: docgen.php,v 1.6 2008/11/14 18:00:47 bjori Exp $ */ if (!(extension_loaded('reflection') & extension_loaded('pcre'))) { @@ -323,7 +323,7 @@ if ($interfaces = $class->getInterfaces()) { $ident = get_ident_size('IMPLEMENTS', $content); - $markup = "\r"; + $markup = "\n"; foreach ($interfaces as $interface) { $markup .= str_repeat(' ', $ident) ."<oointerface>\n"; $markup .= str_repeat(' ', $ident + 1) .'<interfacename>'. $interface->getName() ."</interfacename>\n"; @@ -358,7 +358,7 @@ if ($constants) { $ident = get_ident_size('CONSTANTS', $content); - $markup = "\r<!-- {{{ ". $class->getName() ." constants -->\n"; + $markup = "\n<!-- {{{ ". $class->getName() ." constants -->\n"; $markup .= str_repeat(' ', $ident) .'<section xml:id="'. $id .".constants\">\n"; $markup .= str_repeat(' ', $ident + 1) ."&reftitle.constants;\n"; $markup .= str_repeat(' ', $ident + 1) .'<section xml:id="'. $id .".constants.types\">\n"; @@ -413,7 +413,7 @@ if ($properties) { $ident = get_ident_size('PROPERTIES', $content); - $markup = "\r<!-- {{{ ". $class->getName() ." properties -->\n"; + $markup = "\n<!-- {{{ ". $class->getName() ." properties -->\n"; $markup .= str_repeat(' ', $ident) ."<section xml:id=\"". $id .".props\">\n"; $markup .= str_repeat(' ', $ident + 1) ."&reftitle.properties;\n"; $markup .= str_repeat(' ', $ident + 1) ."<variablelist>\n"; @@ -752,7 +752,7 @@ switch ($opt) { case 'v': case 'version': - printf("%s\n", '$Revision: 1.5 $'); + printf("%s\n", '$Revision: 1.6 $'); break; case 'V': case 'verbose':

« previous php.doc.cvs (#2525) next »