dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-enable MediaWiki.WhiteSpace.SpaceAfterControlStructure.Incorrect
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
libs
/
RunningStatTest.php
diff --git
a/tests/phpunit/includes/libs/RunningStatTest.php
b/tests/phpunit/includes/libs/RunningStatTest.php
index
edfaf16
..
35a8e4f
100644
(file)
--- a/
tests/phpunit/includes/libs/RunningStatTest.php
+++ b/
tests/phpunit/includes/libs/RunningStatTest.php
@@
-23,7
+23,7
@@
class RunningStatTest extends PHPUnit_Framework_TestCase {
*/
public function testRunningStatAccuracy() {
$rstat = new RunningStat();
*/
public function testRunningStatAccuracy() {
$rstat = new RunningStat();
- foreach( $this->points as $point ) {
+ foreach
( $this->points as $point ) {
$rstat->push( $point );
}
$rstat->push( $point );
}
@@
-51,7
+51,7
@@
class RunningStatTest extends PHPUnit_Framework_TestCase {
public function testRunningStatMerge() {
$expected = new RunningStat();
public function testRunningStatMerge() {
$expected = new RunningStat();
- foreach( $this->points as $point ) {
+ foreach
( $this->points as $point ) {
$expected->push( $point );
}
$expected->push( $point );
}
@@
-60,13
+60,13
@@
class RunningStatTest extends PHPUnit_Framework_TestCase {
// Accumulate the first half into one RunningStat object
$first = new RunningStat();
// Accumulate the first half into one RunningStat object
$first = new RunningStat();
- foreach( $sets[0] as $point ) {
+ foreach
( $sets[0] as $point ) {
$first->push( $point );
}
// Accumulate the second half into another RunningStat object
$second = new RunningStat();
$first->push( $point );
}
// Accumulate the second half into another RunningStat object
$second = new RunningStat();
- foreach( $sets[1] as $point ) {
+ foreach
( $sets[1] as $point ) {
$second->push( $point );
}
$second->push( $point );
}