From: Niklas Laxström Date: Thu, 2 Feb 2012 11:14:26 +0000 (+0000) Subject: Whitespace cleanup X-Git-Tag: 1.31.0-rc.0~24965 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=17c9d085c85e26bbdf2dc7d705583fc36c2cad05;p=lhc%2Fweb%2Fwiklou.git Whitespace cleanup --- diff --git a/tests/phpunit/languages/LanguageSrTest.php b/tests/phpunit/languages/LanguageSrTest.php index 8cfdccde86..a50547c670 100644 --- a/tests/phpunit/languages/LanguageSrTest.php +++ b/tests/phpunit/languages/LanguageSrTest.php @@ -12,7 +12,7 @@ * @file */ -require_once dirname(dirname(__FILE__)). '/bootstrap.php'; +require_once dirname( dirname( __FILE__ ) ) . '/bootstrap.php'; /** Tests for MediaWiki languages/LanguageTr.php */ class LanguageSrTest extends MediaWikiTestCase { @@ -20,7 +20,7 @@ class LanguageSrTest extends MediaWikiTestCase { private $lang; function setUp() { - $this->lang = Language::factory( 'Sr' ); + $this->lang = Language::factory( 'sr' ); } function tearDown() { unset( $this->lang ); @@ -62,7 +62,7 @@ class LanguageSrTest extends MediaWikiTestCase { } /** - * @author Nikola Smolenski + * @author Nikola Smolenski */ function testConversionToCyrillic() { $this->assertEquals( 'абвг', @@ -77,7 +77,7 @@ class LanguageSrTest extends MediaWikiTestCase { $this->assertEquals( 'абвгшђжчћ', $this->convertToCyrillic( 'абвгšđžčć' ) ); - //Roman numerals are not converted + // Roman numerals are not converted $this->assertEquals( 'а I б II в III г IV шђжчћ', $this->convertToCyrillic( 'a I b II v III g IV šđžčć' ) ); @@ -121,7 +121,7 @@ class LanguageSrTest extends MediaWikiTestCase { } /** @dataProvider providePluralTwoForms */ function testPluralTwoForms( $result, $value ) { - $forms = array( 'one', 'several' ); + $forms = array( 'one', 'several' ); $this->assertEquals( $result, $this->lang->convertPlural( $value, $forms ) ); } function providePluralTwoForms() {