cvs: pear /PhpDocumentor phpdoc

From: Date: Sun, 30 Sep 2007 01:32:48 +0000
Subject: cvs: pear /PhpDocumentor phpdoc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-48718@lists.php.net to get a copy of this message
ashnazg Sun Sep 30 01:32:48 2007 UTC Modified files: /pear/PhpDocumentor phpdoc Log: the $test needs 'include' usage, rather than 'require' as specified by phpcs; also, save package renaming for CS until PEAR2 http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/phpdoc?r1=1.6&r2=1.7&diff_format=u Index: pear/PhpDocumentor/phpdoc diff -u pear/PhpDocumentor/phpdoc:1.6 pear/PhpDocumentor/phpdoc:1.7 --- pear/PhpDocumentor/phpdoc:1.6 Sat Sep 29 22:42:02 2007 +++ pear/PhpDocumentor/phpdoc Sun Sep 30 01:32:48 2007 @@ -36,13 +36,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @category ToolsAndUtilities - * @package PhpDocumentor2 + * @package phpDocumentor * @author Joshua Eichorn <jeichorn@phpdoc.org> * @copyright 2000-2001 Joshua Eichorn * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @filesource * @link http://www.phpdoc.org * @link http://pear.php.net/PhpDocumentor + * @todo CS cleanup - change package to PhpDocumentor + * @internal find_phpdoc.php must be "included" rather than "required" + * so that the "check for PEAR" code works cleanly */ ob_end_clean(); // make output from autofind php code disapear @@ -50,7 +53,7 @@ /** * utility: determine whether we're in PEAR or not */ -$test = @require "phpDocumentor/find_phpdoc.php"; +$test = @include "phpDocumentor/find_phpdoc.php"; if ($test == 6) { // find_phpdoc.php returns 6 include "phpDocumentor/phpdoc.inc";

« previous php.pear.cvs (#48718) next »