cvs: pear /PhpDocumentor/tests AllTests.php

From: Date: Sun, 30 Sep 2007 01:41:46 +0000
Subject: cvs: pear /PhpDocumentor/tests AllTests.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-48719@lists.php.net to get a copy of this message
ashnazg Sun Sep 30 01:41:46 2007 UTC Modified files: /pear/PhpDocumentor/tests AllTests.php Log: can't use package PhpDocumentor because it collides with package phpDocumentor on case-insensitive filesystems; make note that PhpUnit constant name can't be changed to meet PEAR CS; http://cvs.php.net/viewvc.cgi/pear/PhpDocumentor/tests/AllTests.php?r1=1.3&r2=1.4&diff_format=u Index: pear/PhpDocumentor/tests/AllTests.php diff -u pear/PhpDocumentor/tests/AllTests.php:1.3 pear/PhpDocumentor/tests/AllTests.php:1.4 --- pear/PhpDocumentor/tests/AllTests.php:1.3 Tue Aug 28 20:13:38 2007 +++ pear/PhpDocumentor/tests/AllTests.php Sun Sep 30 01:41:46 2007 @@ -11,21 +11,21 @@ * PHP versions 4 and 5 * * @category Tools and Utilities - * @package PhpDocumentor + * @package phpDocumentor * @subpackage UnitTesting * @author Chuck Burgess <ashnazg@php.net> * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @version CVS: $Id: AllTests.php,v 1.3 2007/08/28 20:13:38 ashnazg Exp $ + * @version CVS: $Id: AllTests.php,v 1.4 2007/09/30 01:41:46 ashnazg Exp $ * @link http://pear.php.net/PhpDocumentor * @since 1.4.0a2 + * @todo CS cleanup - change package to PhpDocumentor */ /** * Check PHP version... PhpUnit v3+ requires at least PHP v5.1.4 */ -if (version_compare(PHP_VERSION, "5.1.4") < 0) -{ +if (version_compare(PHP_VERSION, "5.1.4") < 0) { // Cannnot run test suites echo "Cannot run test suites... requires at least PHP v5.1.4.\n"; exit(1); @@ -34,6 +34,8 @@ /** * Derive the "main" method name + * @internal PhpUnit would have to rename PHPUnit_MAIN_METHOD to PHPUNIT_MAIN_METHOD + * to make this usage meet the PEAR CS... we cannot rename it here. */ if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'PhpDocumentor_AllTests::main'); @@ -67,13 +69,14 @@ * by PhpUnit or via "pear run-tests -u". * * @category Tools and Utilities - * @package PhpDocumentor + * @package phpDocumentor * @subpackage UnitTesting * @author Chuck Burgess <ashnazg@php.net> * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @version Release: @package_version@ * @link http://pear.php.net/PhpDocumentor * @since 1.4.0a2 + * @todo CS cleanup - change package to PhpDocumentor */ class PhpDocumentor_AllTests { @@ -117,6 +120,8 @@ /** * Call the main method if this file is executed directly + * @internal PhpUnit would have to rename PHPUnit_MAIN_METHOD to PHPUNIT_MAIN_METHOD + * to make this usage meet the PEAR CS... we cannot rename it here. */ if (PHPUnit_MAIN_METHOD == 'PhpDocumentor_AllTests::main') { PhpDocumentor_AllTests::main();

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