From: Mark A. Hershberger Date: Sun, 24 Oct 2010 15:12:13 +0000 (+0000) Subject: eol whitespace cleanup X-Git-Tag: 1.31.0-rc.0~34340 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=184a0dfb90271e419d8c98c1e9b181c658904ff3;p=lhc%2Fweb%2Fwiklou.git eol whitespace cleanup --- diff --git a/maintenance/tests/phpunit/includes/ResourceLoaderTest.php b/maintenance/tests/phpunit/includes/ResourceLoaderTest.php index 2ed3d02be5..c92271846a 100644 --- a/maintenance/tests/phpunit/includes/ResourceLoaderTest.php +++ b/maintenance/tests/phpunit/includes/ResourceLoaderTest.php @@ -3,7 +3,7 @@ class ResourceLoaderTest extends PHPUnit_Framework_TestCase { protected static $resourceLoaderRegisterModulesHook; - + /* Hook Methods */ /** @@ -15,7 +15,6 @@ class ResourceLoaderTest extends PHPUnit_Framework_TestCase { } /* Provider Methods */ - public function provideValidModules() { return array( array( 'TEST.validModule1', new ResourceLoaderTestModule() ), @@ -23,7 +22,7 @@ class ResourceLoaderTest extends PHPUnit_Framework_TestCase { } /* Test Methods */ - + /** * Ensures that the ResourceLoaderRegisterModules hook is called when a new ResourceLoader object is constructed * @covers ResourceLoader::__construct @@ -47,11 +46,11 @@ class ResourceLoaderTest extends PHPUnit_Framework_TestCase { $resourceLoader->register( $name, $module ); $this->assertEquals( $module, $resourceLoader->getModule( $name ) ); } - + /** * Allthough ResourceLoader::register uses type hinting to prevent arbitrary information being passed through as a * ResourceLoaderModule object, null can still get through. - * + * * @depends testCreatingNewResourceLoaderCallsRegistrationHook * @covers ResourceLoader::register * @covers ResourceLoader::getModule diff --git a/maintenance/tests/phpunit/phpunit.php b/maintenance/tests/phpunit/phpunit.php index 1f20259ded..744f3d0b79 100755 --- a/maintenance/tests/phpunit/phpunit.php +++ b/maintenance/tests/phpunit/phpunit.php @@ -2,7 +2,7 @@ =' ) ) { } else { # Keep the old pre PHPUnit 3.5.0 behaviour for compatibility require_once( 'PHPUnit/TextUI/Command.php' ); -} +} PHPUnit_TextUI_Command::main();