cvs: phpdoc /scripts switch-to-newstyle.php

From: Date: Mon, 15 Jan 2007 03:11:59 +0000
Subject: cvs: phpdoc /scripts switch-to-newstyle.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374806@lists.php.net to get a copy of this message
didou Mon Jan 15 03:11:59 2007 UTC Modified files: /phpdoc/scripts switch-to-newstyle.php Log: Also remove the splitted from comment which doesn't make sense anymore http://cvs.php.net/viewvc.cgi/phpdoc/scripts/switch-to-newstyle.php?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/scripts/switch-to-newstyle.php diff -u phpdoc/scripts/switch-to-newstyle.php:1.1 phpdoc/scripts/switch-to-newstyle.php:1.2 --- phpdoc/scripts/switch-to-newstyle.php:1.1 Mon Jan 15 02:57:16 2007 +++ phpdoc/scripts/switch-to-newstyle.php Mon Jan 15 03:11:59 2007 @@ -14,10 +14,9 @@ | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Mehdi Achour <didou@php.net> | -| Etienne Kneuss <colder@php.net> | +----------------------------------------------------------------------+ -$Id: switch-to-newstyle.php,v 1.1 2007/01/15 02:57:16 didou Exp $ +$Id: switch-to-newstyle.php,v 1.2 2007/01/15 03:11:59 didou Exp $ */ if (PHP_SAPI !== 'cli') { @@ -53,6 +52,9 @@ array('<refsect1 role="description">', '&reftitle.description;', " </para>\n </refsect1>\n <refsect1 role=\"examples\">\n &reftitle.examples;\n <para>\n <example>"), $old); + // Remove splitted from .. which doesn't make sense anymore + $new = preg_replace('@<!-- splitted [^>]*>\s*\n@', '', $new); + // Switch see also $new = preg_replace( '! <para>

« previous php.doc (#969374806) next »