From 184a0dfb90271e419d8c98c1e9b181c658904ff3 Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Sun, 24 Oct 2010 15:12:13 +0000 Subject: [PATCH] eol whitespace cleanup --- .../tests/phpunit/includes/ResourceLoaderTest.php | 9 ++++----- maintenance/tests/phpunit/phpunit.php | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) 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(); -- 2.20.1