@@ -4,10 +4,10 @@ |
||
4 | 4 | |
5 | 5 | class CoverageMethodOneLineAnnotationTest extends TestCase |
6 | 6 | { |
7 | - /** @covers CoveredClass::publicMethod */ |
|
8 | - public function testSomething() |
|
9 | - { |
|
10 | - $o = new CoveredClass; |
|
11 | - $o->publicMethod(); |
|
12 | - } |
|
7 | + /** @covers CoveredClass::publicMethod */ |
|
8 | + public function testSomething() |
|
9 | + { |
|
10 | + $o = new CoveredClass; |
|
11 | + $o->publicMethod(); |
|
12 | + } |
|
13 | 13 | } |
@@ -3,10 +3,10 @@ |
||
3 | 3 | |
4 | 4 | class WasRun extends TestCase |
5 | 5 | { |
6 | - public $wasRun = false; |
|
6 | + public $wasRun = false; |
|
7 | 7 | |
8 | - protected function runTest() |
|
9 | - { |
|
10 | - $this->wasRun = true; |
|
11 | - } |
|
8 | + protected function runTest() |
|
9 | + { |
|
10 | + $this->wasRun = true; |
|
11 | + } |
|
12 | 12 | } |
@@ -1,36 +1,36 @@ |
||
1 | 1 | <?php |
2 | 2 | class TestIterator implements Iterator |
3 | 3 | { |
4 | - protected $array; |
|
5 | - protected $position = 0; |
|
4 | + protected $array; |
|
5 | + protected $position = 0; |
|
6 | 6 | |
7 | - public function __construct($array = []) |
|
8 | - { |
|
9 | - $this->array = $array; |
|
10 | - } |
|
7 | + public function __construct($array = []) |
|
8 | + { |
|
9 | + $this->array = $array; |
|
10 | + } |
|
11 | 11 | |
12 | - public function rewind() |
|
13 | - { |
|
14 | - $this->position = 0; |
|
15 | - } |
|
12 | + public function rewind() |
|
13 | + { |
|
14 | + $this->position = 0; |
|
15 | + } |
|
16 | 16 | |
17 | - public function valid() |
|
18 | - { |
|
19 | - return $this->position < count($this->array); |
|
20 | - } |
|
17 | + public function valid() |
|
18 | + { |
|
19 | + return $this->position < count($this->array); |
|
20 | + } |
|
21 | 21 | |
22 | - public function key() |
|
23 | - { |
|
24 | - return $this->position; |
|
25 | - } |
|
22 | + public function key() |
|
23 | + { |
|
24 | + return $this->position; |
|
25 | + } |
|
26 | 26 | |
27 | - public function current() |
|
28 | - { |
|
29 | - return $this->array[$this->position]; |
|
30 | - } |
|
27 | + public function current() |
|
28 | + { |
|
29 | + return $this->array[$this->position]; |
|
30 | + } |
|
31 | 31 | |
32 | - public function next() |
|
33 | - { |
|
34 | - $this->position++; |
|
35 | - } |
|
32 | + public function next() |
|
33 | + { |
|
34 | + $this->position++; |
|
35 | + } |
|
36 | 36 | } |
@@ -3,32 +3,32 @@ |
||
3 | 3 | |
4 | 4 | class DependencyFailureTest extends TestCase |
5 | 5 | { |
6 | - public function testOne() |
|
7 | - { |
|
8 | - $this->fail(); |
|
9 | - } |
|
6 | + public function testOne() |
|
7 | + { |
|
8 | + $this->fail(); |
|
9 | + } |
|
10 | 10 | |
11 | - /** |
|
12 | - * @depends testOne |
|
13 | - */ |
|
14 | - public function testTwo() |
|
15 | - { |
|
16 | - $this->assertTrue(true); |
|
17 | - } |
|
11 | + /** |
|
12 | + * @depends testOne |
|
13 | + */ |
|
14 | + public function testTwo() |
|
15 | + { |
|
16 | + $this->assertTrue(true); |
|
17 | + } |
|
18 | 18 | |
19 | - /** |
|
20 | - * @depends !clone testTwo |
|
21 | - */ |
|
22 | - public function testThree() |
|
23 | - { |
|
24 | - $this->assertTrue(true); |
|
25 | - } |
|
19 | + /** |
|
20 | + * @depends !clone testTwo |
|
21 | + */ |
|
22 | + public function testThree() |
|
23 | + { |
|
24 | + $this->assertTrue(true); |
|
25 | + } |
|
26 | 26 | |
27 | - /** |
|
28 | - * @depends clone testOne |
|
29 | - */ |
|
30 | - public function testFour() |
|
31 | - { |
|
32 | - $this->assertTrue(true); |
|
33 | - } |
|
27 | + /** |
|
28 | + * @depends clone testOne |
|
29 | + */ |
|
30 | + public function testFour() |
|
31 | + { |
|
32 | + $this->assertTrue(true); |
|
33 | + } |
|
34 | 34 | } |
@@ -4,7 +4,7 @@ |
||
4 | 4 | */ |
5 | 5 | class ParseTestMethodAnnotationsMock |
6 | 6 | { |
7 | - use ParseTestMethodAnnotationsTrait; |
|
7 | + use ParseTestMethodAnnotationsTrait; |
|
8 | 8 | } |
9 | 9 | |
10 | 10 | /** |
@@ -3,9 +3,9 @@ |
||
3 | 3 | |
4 | 4 | class ChangeCurrentWorkingDirectoryTest extends TestCase |
5 | 5 | { |
6 | - public function testSomethingThatChangesTheCwd() |
|
7 | - { |
|
8 | - chdir('../'); |
|
9 | - $this->assertTrue(true); |
|
10 | - } |
|
6 | + public function testSomethingThatChangesTheCwd() |
|
7 | + { |
|
8 | + chdir('../'); |
|
9 | + $this->assertTrue(true); |
|
10 | + } |
|
11 | 11 | } |
@@ -3,12 +3,12 @@ |
||
3 | 3 | |
4 | 4 | class CoveragePublicTest extends TestCase |
5 | 5 | { |
6 | - /** |
|
7 | - * @covers CoveredClass::<public> |
|
8 | - */ |
|
9 | - public function testSomething() |
|
10 | - { |
|
11 | - $o = new CoveredClass; |
|
12 | - $o->publicMethod(); |
|
13 | - } |
|
6 | + /** |
|
7 | + * @covers CoveredClass::<public> |
|
8 | + */ |
|
9 | + public function testSomething() |
|
10 | + { |
|
11 | + $o = new CoveredClass; |
|
12 | + $o->publicMethod(); |
|
13 | + } |
|
14 | 14 | } |
@@ -3,12 +3,12 @@ |
||
3 | 3 | |
4 | 4 | class CoverageNotPublicTest extends TestCase |
5 | 5 | { |
6 | - /** |
|
7 | - * @covers CoveredClass::<!public> |
|
8 | - */ |
|
9 | - public function testSomething() |
|
10 | - { |
|
11 | - $o = new CoveredClass; |
|
12 | - $o->publicMethod(); |
|
13 | - } |
|
6 | + /** |
|
7 | + * @covers CoveredClass::<!public> |
|
8 | + */ |
|
9 | + public function testSomething() |
|
10 | + { |
|
11 | + $o = new CoveredClass; |
|
12 | + $o->publicMethod(); |
|
13 | + } |
|
14 | 14 | } |
@@ -11,8 +11,8 @@ |
||
11 | 11 | |
12 | 12 | class DummyFooTest extends TestCase |
13 | 13 | { |
14 | - public function testFooEqualsFoo() |
|
15 | - { |
|
16 | - $this->assertEquals('Foo', 'Foo'); |
|
17 | - } |
|
14 | + public function testFooEqualsFoo() |
|
15 | + { |
|
16 | + $this->assertEquals('Foo', 'Foo'); |
|
17 | + } |
|
18 | 18 | } |