diff options
author | Siebrand Mazeland <siebrand@kitano.nl> | 2014-04-24 18:06:46 +0200 |
---|---|---|
committer | Siebrand <siebrand@kitano.nl> | 2014-04-24 18:27:12 +0000 |
commit | 896bda7c85cd22efab1ae520fde6189c1ae95109 (patch) | |
tree | 5e25339d4679b545087bcf85b327225e70587ff4 /tests/phpunit/includes/diff/ArrayDiffFormatterTest.php | |
parent | 1742e9448ce3c7b1590451c401ef09df2fa7e3f8 (diff) | |
download | mediawikicore-896bda7c85cd22efab1ae520fde6189c1ae95109.tar.gz mediawikicore-896bda7c85cd22efab1ae520fde6189c1ae95109.zip |
Pass phpcs-strict on some test files (7/11)
Change-Id: Ia0ceea60e7ef43959f868378f3fcd463a3adf782
Diffstat (limited to 'tests/phpunit/includes/diff/ArrayDiffFormatterTest.php')
-rw-r--r-- | tests/phpunit/includes/diff/ArrayDiffFormatterTest.php | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php b/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php index 351908b95540..e914c7278b6a 100644 --- a/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php +++ b/tests/phpunit/includes/diff/ArrayDiffFormatterTest.php @@ -93,13 +93,32 @@ class ArrayDiffFormatterTest extends MediaWikiTestCase { ); $otherTestCases[] = array( $this->getMockDiff( array( $this->getMockDiffOp( 'change', array( 'd1' ), array( 'a1' ) ) ) ), - array( array( 'action' => 'change', 'old' => 'd1', 'new' => 'mockLine', 'newline' => 1, 'oldline' => 1 ) ), + array( array( + 'action' => 'change', + 'old' => 'd1', + 'new' => 'mockLine', + 'newline' => 1, 'oldline' => 1 + ) ), ); $otherTestCases[] = array( - $this->getMockDiff( array( $this->getMockDiffOp( 'change', array( 'd1', 'd2' ), array( 'a1', 'a2' ) ) ) ), + $this->getMockDiff( array( $this->getMockDiffOp( + 'change', + array( 'd1', 'd2' ), + array( 'a1', 'a2' ) + ) ) ), array( - array( 'action' => 'change', 'old' => 'd1', 'new' => 'mockLine', 'newline' => 1, 'oldline' => 1 ), - array( 'action' => 'change', 'old' => 'd2', 'new' => 'mockLine', 'newline' => 2, 'oldline' => 2 ), + array( + 'action' => 'change', + 'old' => 'd1', + 'new' => 'mockLine', + 'newline' => 1, 'oldline' => 1 + ), + array( + 'action' => 'change', + 'old' => 'd2', + 'new' => 'mockLine', + 'newline' => 2, 'oldline' => 2 + ), ), ); |