@@ -3,21 +3,21 @@ |
||
3 | 3 | |
4 | 4 | class Issue433Test extends TestCase |
5 | 5 | { |
6 | - public function testOutputWithExpectationBefore() |
|
7 | - { |
|
8 | - $this->expectOutputString('test'); |
|
9 | - print 'test'; |
|
10 | - } |
|
6 | + public function testOutputWithExpectationBefore() |
|
7 | + { |
|
8 | + $this->expectOutputString('test'); |
|
9 | + print 'test'; |
|
10 | + } |
|
11 | 11 | |
12 | - public function testOutputWithExpectationAfter() |
|
13 | - { |
|
14 | - print 'test'; |
|
15 | - $this->expectOutputString('test'); |
|
16 | - } |
|
12 | + public function testOutputWithExpectationAfter() |
|
13 | + { |
|
14 | + print 'test'; |
|
15 | + $this->expectOutputString('test'); |
|
16 | + } |
|
17 | 17 | |
18 | - public function testNotMatchingOutput() |
|
19 | - { |
|
20 | - print 'bar'; |
|
21 | - $this->expectOutputString('foo'); |
|
22 | - } |
|
18 | + public function testNotMatchingOutput() |
|
19 | + { |
|
20 | + print 'bar'; |
|
21 | + $this->expectOutputString('foo'); |
|
22 | + } |
|
23 | 23 | } |
@@ -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 | } |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php |
2 | -$globalString = 'Hello'; |
|
2 | +$globalString = 'Hello'; |
|
3 | 3 | |
4 | -require __DIR__ . '/../../../bootstrap.php'; |
|
5 | 4 | \ No newline at end of file |
5 | +require __DIR__.'/../../../bootstrap.php'; |
|
6 | 6 | \ No newline at end of file |
@@ -2,6 +2,6 @@ |
||
2 | 2 | ini_set('display_errors', 0); |
3 | 3 | ini_set('log_errors', 1); |
4 | 4 | |
5 | -$globalString = 'Hello'; |
|
5 | +$globalString = 'Hello'; |
|
6 | 6 | |
7 | 7 | // require __DIR__ . '/../../../bootstrap.php'; |
@@ -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 | } |
@@ -1,4 +1,4 @@ |
||
1 | 1 | <?php |
2 | 2 | // $globalString = 'Hello'; |
3 | 3 | |
4 | -require __DIR__ . '/../../../bootstrap.php'; |
|
5 | 4 | \ No newline at end of file |
5 | +require __DIR__.'/../../../bootstrap.php'; |
|
6 | 6 | \ No newline at end of file |
@@ -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 | } |