Completed
Push — master ( 52755b...6c4366 )
by smiley
02:13
created
vendor/phpunit/phpunit/tests/Regression/GitHub/244/Issue244Test.php 1 patch
Indentation   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -3,55 +3,55 @@
 block discarded – undo
3 3
 
4 4
 class Issue244Test extends TestCase
5 5
 {
6
-    /**
7
-     * @expectedException Issue244Exception
8
-     * @expectedExceptionCode 123StringCode
9
-     */
10
-    public function testWorks()
11
-    {
12
-        throw new Issue244Exception;
13
-    }
6
+	/**
7
+	 * @expectedException Issue244Exception
8
+	 * @expectedExceptionCode 123StringCode
9
+	 */
10
+	public function testWorks()
11
+	{
12
+		throw new Issue244Exception;
13
+	}
14 14
 
15
-    /**
16
-     * @expectedException Issue244Exception
17
-     * @expectedExceptionCode OtherString
18
-     */
19
-    public function testFails()
20
-    {
21
-        throw new Issue244Exception;
22
-    }
15
+	/**
16
+	 * @expectedException Issue244Exception
17
+	 * @expectedExceptionCode OtherString
18
+	 */
19
+	public function testFails()
20
+	{
21
+		throw new Issue244Exception;
22
+	}
23 23
 
24
-    /**
25
-     * @expectedException Issue244Exception
26
-     * @expectedExceptionCode 123
27
-     */
28
-    public function testFailsTooIfExpectationIsANumber()
29
-    {
30
-        throw new Issue244Exception;
31
-    }
24
+	/**
25
+	 * @expectedException Issue244Exception
26
+	 * @expectedExceptionCode 123
27
+	 */
28
+	public function testFailsTooIfExpectationIsANumber()
29
+	{
30
+		throw new Issue244Exception;
31
+	}
32 32
 
33
-    /**
34
-     * @expectedException Issue244ExceptionIntCode
35
-     * @expectedExceptionCode 123String
36
-     */
37
-    public function testFailsTooIfExceptionCodeIsANumber()
38
-    {
39
-        throw new Issue244ExceptionIntCode;
40
-    }
33
+	/**
34
+	 * @expectedException Issue244ExceptionIntCode
35
+	 * @expectedExceptionCode 123String
36
+	 */
37
+	public function testFailsTooIfExceptionCodeIsANumber()
38
+	{
39
+		throw new Issue244ExceptionIntCode;
40
+	}
41 41
 }
42 42
 
43 43
 class Issue244Exception extends Exception
44 44
 {
45
-    public function __construct()
46
-    {
47
-        $this->code = '123StringCode';
48
-    }
45
+	public function __construct()
46
+	{
47
+		$this->code = '123StringCode';
48
+	}
49 49
 }
50 50
 
51 51
 class Issue244ExceptionIntCode extends Exception
52 52
 {
53
-    public function __construct()
54
-    {
55
-        $this->code = 123;
56
-    }
53
+	public function __construct()
54
+	{
55
+		$this->code = 123;
56
+	}
57 57
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/2382/Issue2382Test.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -3,20 +3,20 @@
 block discarded – undo
3 3
 
4 4
 class Issue2382Test extends TestCase
5 5
 {
6
-    /**
7
-     * @dataProvider dataProvider
8
-     */
9
-    public function testOne($test)
10
-    {
11
-        $this->assertInstanceOf(\Exception::class, $test);
12
-    }
6
+	/**
7
+	 * @dataProvider dataProvider
8
+	 */
9
+	public function testOne($test)
10
+	{
11
+		$this->assertInstanceOf(\Exception::class, $test);
12
+	}
13 13
 
14
-    public function dataProvider()
15
-    {
16
-        return [
17
-            [
18
-                $this->getMockBuilder(\Exception::class)->getMock()
19
-            ]
20
-        ];
21
-    }
14
+	public function dataProvider()
15
+	{
16
+		return [
17
+			[
18
+				$this->getMockBuilder(\Exception::class)->getMock()
19
+			]
20
+		];
21
+	}
22 22
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/503/Issue503Test.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 
4 4
 class Issue503Test extends TestCase
5 5
 {
6
-    public function testCompareDifferentLineEndings()
7
-    {
8
-        $this->assertSame(
9
-            "foo\n",
10
-            "foo\r\n"
11
-        );
12
-    }
6
+	public function testCompareDifferentLineEndings()
7
+	{
8
+		$this->assertSame(
9
+			"foo\n",
10
+			"foo\r\n"
11
+		);
12
+	}
13 13
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/1472/Issue1472Test.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -3,21 +3,21 @@
 block discarded – undo
3 3
 
4 4
 class Issue1472Test extends TestCase
5 5
 {
6
-    public function testAssertEqualXMLStructure()
7
-    {
8
-        $doc = new DOMDocument;
9
-        $doc->loadXML('<root><label>text content</label></root>');
6
+	public function testAssertEqualXMLStructure()
7
+	{
8
+		$doc = new DOMDocument;
9
+		$doc->loadXML('<root><label>text content</label></root>');
10 10
 
11
-        $xpath = new DOMXPath($doc);
11
+		$xpath = new DOMXPath($doc);
12 12
 
13
-        $labelElement = $doc->getElementsByTagName('label')->item(0);
13
+		$labelElement = $doc->getElementsByTagName('label')->item(0);
14 14
 
15
-        $this->assertEquals(1, $xpath->evaluate('count(//label[text() = "text content"])'));
15
+		$this->assertEquals(1, $xpath->evaluate('count(//label[text() = "text content"])'));
16 16
 
17
-        $expectedElmt = $doc->createElement('label', 'text content');
18
-        $this->assertEqualXMLStructure($expectedElmt, $labelElement);
17
+		$expectedElmt = $doc->createElement('label', 'text content');
18
+		$this->assertEqualXMLStructure($expectedElmt, $labelElement);
19 19
 
20
-        // the following assertion fails, even though it passed before - which is due to the assertEqualXMLStructure() has modified the $labelElement
21
-        $this->assertEquals(1, $xpath->evaluate('count(//label[text() = "text content"])'));
22
-    }
20
+		// the following assertion fails, even though it passed before - which is due to the assertEqualXMLStructure() has modified the $labelElement
21
+		$this->assertEquals(1, $xpath->evaluate('count(//label[text() = "text content"])'));
22
+	}
23 23
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/445/Issue445Test.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -3,21 +3,21 @@
 block discarded – undo
3 3
 
4 4
 class Issue445Test 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
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/797/Issue797Test.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 
4 4
 class Issue797Test extends TestCase
5 5
 {
6
-    protected $preserveGlobalState = false;
6
+	protected $preserveGlobalState = false;
7 7
 
8
-    public function testBootstrapPhpIsExecutedInIsolation()
9
-    {
10
-        $this->assertEquals(GITHUB_ISSUE, 797);
11
-    }
8
+	public function testBootstrapPhpIsExecutedInIsolation()
9
+	{
10
+		$this->assertEquals(GITHUB_ISSUE, 797);
11
+	}
12 12
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/1374/Issue1374Test.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -6,18 +6,18 @@
 block discarded – undo
6 6
  */
7 7
 class Issue1374Test extends TestCase
8 8
 {
9
-    protected function setUp()
10
-    {
11
-        print __FUNCTION__;
12
-    }
9
+	protected function setUp()
10
+	{
11
+		print __FUNCTION__;
12
+	}
13 13
 
14
-    public function testSomething()
15
-    {
16
-        $this->fail('This should not be reached');
17
-    }
14
+	public function testSomething()
15
+	{
16
+		$this->fail('This should not be reached');
17
+	}
18 18
 
19
-    protected function tearDown()
20
-    {
21
-        print __FUNCTION__;
22
-    }
19
+	protected function tearDown()
20
+	{
21
+		print __FUNCTION__;
22
+	}
23 23
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/1265/Issue1265Test.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 
4 4
 class Issue1265Test extends TestCase
5 5
 {
6
-    public function testTrue()
7
-    {
8
-        $this->assertTrue(true);
9
-    }
6
+	public function testTrue()
7
+	{
8
+		$this->assertTrue(true);
9
+	}
10 10
 }
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Regression/GitHub/1337/Issue1337Test.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -3,19 +3,19 @@
 block discarded – undo
3 3
 
4 4
 class Issue1337Test extends TestCase
5 5
 {
6
-    /**
7
-     * @dataProvider dataProvider
8
-     */
9
-    public function testProvider($a)
10
-    {
11
-        $this->assertTrue($a);
12
-    }
6
+	/**
7
+	 * @dataProvider dataProvider
8
+	 */
9
+	public function testProvider($a)
10
+	{
11
+		$this->assertTrue($a);
12
+	}
13 13
 
14
-    public function dataProvider()
15
-    {
16
-        return [
17
-          'c:\\'=> [true],
18
-          0.9   => [true]
19
-        ];
20
-    }
14
+	public function dataProvider()
15
+	{
16
+		return [
17
+		  'c:\\'=> [true],
18
+		  0.9   => [true]
19
+		];
20
+	}
21 21
 }
Please login to merge, or discard this patch.