diff options
author | umherirrender <umherirrender_de.wp@web.de> | 2014-03-20 19:59:20 +0100 |
---|---|---|
committer | Siebrand <siebrand@kitano.nl> | 2014-03-20 20:37:30 +0000 |
commit | 2000672ac379e77adc1ad83747844401bfc7c51d (patch) | |
tree | e9703ceaf78fba32287bfb82f103e07d18fc7695 /tests/phpunit/includes/diff/ArrayDiffFormatterTest.php | |
parent | eed31dbcd9f5ba292ba411094d6fbf86844ad726 (diff) | |
download | mediawikicore-2000672ac379e77adc1ad83747844401bfc7c51d.tar.gz mediawikicore-2000672ac379e77adc1ad83747844401bfc7c51d.zip |
Fixed spacing
- Added spaces after if/foreach/catch
- Added new line before end of file
- Added or removed spaces before/after parenthesis, comma
- Added spaces around string concat
Change-Id: I0590070f1b3542108e242730e8d9a3ba9831e94f
Diffstat (limited to 'tests/phpunit/includes/diff/ArrayDiffFormatterTest.php')
-rw-r--r-- | tests/phpunit/includes/diff/ArrayDiffFormatterTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php b/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php index 50c5c572e454..351908b95540 100644 --- a/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php +++ b/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php @@ -40,7 +40,7 @@ class ArrayDiffFormatterTest extends MediaWikiTestCase { $diffOp->expects( $this->any() ) ->method( 'getOrig' ) ->will( $this->returnValue( $orig ) ); - if( $type === 'change' ) { + if ( $type === 'change' ) { $diffOp->expects( $this->any() ) ->method( 'getClosing' ) ->with( $this->isType( 'integer' ) ) @@ -104,10 +104,10 @@ class ArrayDiffFormatterTest extends MediaWikiTestCase { ); $testCases = array(); - foreach( $emptyArrayTestCases as $testCase ) { + foreach ( $emptyArrayTestCases as $testCase ) { $testCases[] = array( $testCase, array() ); } - foreach( $otherTestCases as $testCase ) { + foreach ( $otherTestCases as $testCase ) { $testCases[] = array( $testCase[0], $testCase[1] ); } return $testCases; |