@@ -3,8 +3,8 @@ |
||
3 | 3 | |
4 | 4 | class Issue1216Test extends TestCase |
5 | 5 | { |
6 | - public function testConfigAvailableInBootstrap() |
|
7 | - { |
|
8 | - $this->assertTrue($_ENV['configAvailableInBootstrap']); |
|
9 | - } |
|
6 | + public function testConfigAvailableInBootstrap() |
|
7 | + { |
|
8 | + $this->assertTrue($_ENV['configAvailableInBootstrap']); |
|
9 | + } |
|
10 | 10 | } |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | class Test extends PHPUnit\Framework\TestCase |
3 | 3 | { |
4 | - public function testOne() |
|
5 | - { |
|
6 | - $this->assertTrue(true); |
|
7 | - } |
|
4 | + public function testOne() |
|
5 | + { |
|
6 | + $this->assertTrue(true); |
|
7 | + } |
|
8 | 8 | } |
@@ -7,15 +7,15 @@ |
||
7 | 7 | */ |
8 | 8 | class Issue2591_SeparateFunctionNoPreserveTest extends TestCase |
9 | 9 | { |
10 | - public function testChangedGlobalString() |
|
11 | - { |
|
12 | - $GLOBALS['globalString'] = 'Hello!'; |
|
13 | - $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
14 | - } |
|
10 | + public function testChangedGlobalString() |
|
11 | + { |
|
12 | + $GLOBALS['globalString'] = 'Hello!'; |
|
13 | + $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
14 | + } |
|
15 | 15 | |
16 | - public function testGlobalString() |
|
17 | - { |
|
18 | - $this->assertEquals('Hello', $GLOBALS['globalString']); |
|
19 | - } |
|
16 | + public function testGlobalString() |
|
17 | + { |
|
18 | + $this->assertEquals('Hello', $GLOBALS['globalString']); |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
@@ -7,20 +7,20 @@ |
||
7 | 7 | */ |
8 | 8 | class Issue2591_SeparateClassPreserveTest extends TestCase |
9 | 9 | { |
10 | - public function testOriginalGlobalString() |
|
11 | - { |
|
12 | - $this->assertEquals('Hello', $GLOBALS['globalString']); |
|
13 | - } |
|
10 | + public function testOriginalGlobalString() |
|
11 | + { |
|
12 | + $this->assertEquals('Hello', $GLOBALS['globalString']); |
|
13 | + } |
|
14 | 14 | |
15 | - public function testChangedGlobalString() |
|
16 | - { |
|
17 | - $GLOBALS['globalString'] = 'Hello!'; |
|
18 | - $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
19 | - } |
|
15 | + public function testChangedGlobalString() |
|
16 | + { |
|
17 | + $GLOBALS['globalString'] = 'Hello!'; |
|
18 | + $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
19 | + } |
|
20 | 20 | |
21 | - public function testGlobalString() |
|
22 | - { |
|
23 | - $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
24 | - } |
|
21 | + public function testGlobalString() |
|
22 | + { |
|
23 | + $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
24 | + } |
|
25 | 25 | |
26 | 26 | } |
@@ -7,15 +7,15 @@ |
||
7 | 7 | */ |
8 | 8 | class Issue2591_SeparateFunctionPreserveTest extends TestCase |
9 | 9 | { |
10 | - public function testChangedGlobalString() |
|
11 | - { |
|
12 | - $GLOBALS['globalString'] = 'Hello!'; |
|
13 | - $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
14 | - } |
|
10 | + public function testChangedGlobalString() |
|
11 | + { |
|
12 | + $GLOBALS['globalString'] = 'Hello!'; |
|
13 | + $this->assertEquals('Hello!', $GLOBALS['globalString']); |
|
14 | + } |
|
15 | 15 | |
16 | - public function testGlobalString() |
|
17 | - { |
|
18 | - $this->assertEquals('Hello', $GLOBALS['globalString']); |
|
19 | - } |
|
16 | + public function testGlobalString() |
|
17 | + { |
|
18 | + $this->assertEquals('Hello', $GLOBALS['globalString']); |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | class Issue2731Test extends PHPUnit\Framework\TestCase |
3 | 3 | { |
4 | - public function testOne() |
|
5 | - { |
|
6 | - $this->expectException(Exception::class); |
|
7 | - $this->expectExceptionMessage(''); |
|
4 | + public function testOne() |
|
5 | + { |
|
6 | + $this->expectException(Exception::class); |
|
7 | + $this->expectExceptionMessage(''); |
|
8 | 8 | |
9 | - throw new Exception('message'); |
|
10 | - } |
|
9 | + throw new Exception('message'); |
|
10 | + } |
|
11 | 11 | } |
@@ -3,11 +3,11 @@ |
||
3 | 3 | |
4 | 4 | class Issue581Test extends TestCase |
5 | 5 | { |
6 | - public function testExportingObjectsDoesNotBreakWindowsLineFeeds() |
|
7 | - { |
|
8 | - $this->assertEquals( |
|
9 | - (object) [1, 2, "Test\r\n", 4, 5, 6, 7, 8], |
|
10 | - (object) [1, 2, "Test\r\n", 4, 1, 6, 7, 8] |
|
11 | - ); |
|
12 | - } |
|
6 | + public function testExportingObjectsDoesNotBreakWindowsLineFeeds() |
|
7 | + { |
|
8 | + $this->assertEquals( |
|
9 | + (object) [1, 2, "Test\r\n", 4, 5, 6, 7, 8], |
|
10 | + (object) [1, 2, "Test\r\n", 4, 1, 6, 7, 8] |
|
11 | + ); |
|
12 | + } |
|
13 | 13 | } |
@@ -3,11 +3,11 @@ |
||
3 | 3 | |
4 | 4 | class Issue1468Test extends TestCase |
5 | 5 | { |
6 | - /** |
|
7 | - * @todo Implement this test |
|
8 | - */ |
|
9 | - public function testFailure() |
|
10 | - { |
|
11 | - $this->markTestIncomplete(); |
|
12 | - } |
|
6 | + /** |
|
7 | + * @todo Implement this test |
|
8 | + */ |
|
9 | + public function testFailure() |
|
10 | + { |
|
11 | + $this->markTestIncomplete(); |
|
12 | + } |
|
13 | 13 | } |
@@ -4,8 +4,8 @@ |
||
4 | 4 | */ |
5 | 5 | class Issue2435Test extends PHPUnit\Framework\TestCase |
6 | 6 | { |
7 | - public function testOne() |
|
8 | - { |
|
9 | - $this->assertTrue(true); |
|
10 | - } |
|
7 | + public function testOne() |
|
8 | + { |
|
9 | + $this->assertTrue(true); |
|
10 | + } |
|
11 | 11 | } |