@@ -85,14 +85,14 @@ discard block |
||
85 | 85 | $selector = 'div#folder.open a[href="http://www.xerox.com"][title="xerox"].selected.big > span + h1'; |
86 | 86 | $converted = PHPUnit_Util_XML::convertSelectToTag($selector); |
87 | 87 | $tag = array('tag' => 'div', |
88 | - 'id' => 'folder', |
|
89 | - 'class' => 'open', |
|
90 | - 'descendant' => array('tag' => 'a', |
|
91 | - 'class' => 'selected big', |
|
92 | - 'attributes' => array('href' => 'http://www.xerox.com', |
|
93 | - 'title' => 'xerox'), |
|
94 | - 'child' => array('tag' => 'span', |
|
95 | - 'adjacent-sibling' => array('tag' => 'h1')))); |
|
88 | + 'id' => 'folder', |
|
89 | + 'class' => 'open', |
|
90 | + 'descendant' => array('tag' => 'a', |
|
91 | + 'class' => 'selected big', |
|
92 | + 'attributes' => array('href' => 'http://www.xerox.com', |
|
93 | + 'title' => 'xerox'), |
|
94 | + 'child' => array('tag' => 'span', |
|
95 | + 'adjacent-sibling' => array('tag' => 'h1')))); |
|
96 | 96 | $this->assertEquals($tag, $converted); |
97 | 97 | } |
98 | 98 | |
@@ -137,8 +137,8 @@ discard block |
||
137 | 137 | $selector = '[foo="bar baz"] div[value="foo bar"]'; |
138 | 138 | $converted = PHPUnit_Util_XML::convertSelectToTag($selector); |
139 | 139 | $tag = array('attributes' => array('foo' => 'bar baz'), |
140 | - 'descendant' => array('tag' => 'div', |
|
141 | - 'attributes' => array('value' => 'foo bar'))); |
|
140 | + 'descendant' => array('tag' => 'div', |
|
141 | + 'attributes' => array('value' => 'foo bar'))); |
|
142 | 142 | $this->assertEquals($tag, $converted); |
143 | 143 | } |
144 | 144 | |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $selector = '[foo="bar baz"] div[value="foo bar baz"]'; |
148 | 148 | $converted = PHPUnit_Util_XML::convertSelectToTag($selector); |
149 | 149 | $tag = array('attributes' => array('foo' => 'bar baz'), |
150 | - 'descendant' => array('tag' => 'div', |
|
150 | + 'descendant' => array('tag' => 'div', |
|
151 | 151 | 'attributes' => array('value' => 'foo bar baz'))); |
152 | 152 | $this->assertEquals($tag, $converted); |
153 | 153 | } |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | $obj2 = new \stdClass(); |
15 | 15 | $obj2->foo = 'bar'; |
16 | 16 | |
17 | - $obj3 = (object) array(1,2,"Test\r\n",4,5,6,7,8); |
|
17 | + $obj3 = (object) array(1, 2, "Test\r\n", 4, 5, 6, 7, 8); |
|
18 | 18 | |
19 | 19 | $obj = new \stdClass(); |
20 | 20 | //@codingStandardsIgnoreStart |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | return array( |
38 | 38 | array(null, true, 1, 1.0), |
39 | 39 | array(1.2, fopen('php://memory', 'r'), '1'), |
40 | - array(array(array(1,2,3), array(3,4,5))), |
|
40 | + array(array(array(1, 2, 3), array(3, 4, 5))), |
|
41 | 41 | // \n\r and \r is converted to \n |
42 | 42 | array("this\nis\na\nvery\nvery\nvery\nvery\nvery\nvery\rlong\n\rtext"), |
43 | 43 | array(new \stdClass(), $obj, array(), $storage, $obj3), |
@@ -12,10 +12,10 @@ discard block |
||
12 | 12 | public static function truthProvider() |
13 | 13 | { |
14 | 14 | return array( |
15 | - array(true), |
|
16 | - array(true), |
|
17 | - array(true), |
|
18 | - array(true) |
|
15 | + array(true), |
|
16 | + array(true), |
|
17 | + array(true), |
|
18 | + array(true) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | |
@@ -30,10 +30,10 @@ discard block |
||
30 | 30 | public static function falseProvider() |
31 | 31 | { |
32 | 32 | return array( |
33 | - 'false test' => array(false), |
|
34 | - 'false test 2' => array(false), |
|
35 | - 'other false test' => array(false), |
|
36 | - 'other false test2'=> array(false) |
|
33 | + 'false test' => array(false), |
|
34 | + 'false test 2' => array(false), |
|
35 | + 'other false test' => array(false), |
|
36 | + 'other false test2'=> array(false) |
|
37 | 37 | ); |
38 | 38 | } |
39 | 39 | } |
@@ -22,16 +22,16 @@ |
||
22 | 22 | $this->markTestIncomplete('incomplete'); |
23 | 23 | |
24 | 24 | return array( |
25 | - array(0, 0, 0), |
|
26 | - array(0, 1, 1), |
|
25 | + array(0, 0, 0), |
|
26 | + array(0, 1, 1), |
|
27 | 27 | ); |
28 | 28 | } |
29 | 29 | |
30 | 30 | public static function providerMethod() |
31 | 31 | { |
32 | 32 | return array( |
33 | - array(0, 0, 0), |
|
34 | - array(0, 1, 1), |
|
33 | + array(0, 0, 0), |
|
34 | + array(0, 1, 1), |
|
35 | 35 | ); |
36 | 36 | } |
37 | 37 | } |
@@ -22,16 +22,16 @@ |
||
22 | 22 | $this->markTestSkipped('skipped'); |
23 | 23 | |
24 | 24 | return array( |
25 | - array(0, 0, 0), |
|
26 | - array(0, 1, 1), |
|
25 | + array(0, 0, 0), |
|
26 | + array(0, 1, 1), |
|
27 | 27 | ); |
28 | 28 | } |
29 | 29 | |
30 | 30 | public static function providerMethod() |
31 | 31 | { |
32 | 32 | return array( |
33 | - array(0, 0, 0), |
|
34 | - array(0, 1, 1), |
|
33 | + array(0, 0, 0), |
|
34 | + array(0, 1, 1), |
|
35 | 35 | ); |
36 | 36 | } |
37 | 37 | } |
@@ -12,10 +12,10 @@ |
||
12 | 12 | public static function providerMethod() |
13 | 13 | { |
14 | 14 | return array( |
15 | - array(0, 0, 0), |
|
16 | - array(0, 1, 1), |
|
17 | - array(1, 1, 3), |
|
18 | - array(1, 0, 1) |
|
15 | + array(0, 0, 0), |
|
16 | + array(0, 1, 1), |
|
17 | + array(1, 1, 3), |
|
18 | + array(1, 0, 1) |
|
19 | 19 | ); |
20 | 20 | } |
21 | 21 | } |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @coversDefaultClass \Foo\CoveredClass |
|
4 | - */ |
|
3 | + * @coversDefaultClass \Foo\CoveredClass |
|
4 | + */ |
|
5 | 5 | class NamespaceCoverageCoversClassPublicTest extends PHPUnit_Framework_TestCase |
6 | 6 | { |
7 | 7 | /** |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @coversDefaultClass \Foo\CoveredClass |
|
4 | - */ |
|
3 | + * @coversDefaultClass \Foo\CoveredClass |
|
4 | + */ |
|
5 | 5 | class NamespaceCoverageCoversClassTest extends PHPUnit_Framework_TestCase |
6 | 6 | { |
7 | 7 | /** |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Sample class that implements ArrayAccess copied from |
|
4 | - * http://www.php.net/manual/en/class.arrayaccess.php |
|
5 | - * with some minor changes |
|
6 | - * This class required for PHPUnit_Framework_Constraint_ArrayHasKey testing |
|
7 | - */ |
|
3 | + * Sample class that implements ArrayAccess copied from |
|
4 | + * http://www.php.net/manual/en/class.arrayaccess.php |
|
5 | + * with some minor changes |
|
6 | + * This class required for PHPUnit_Framework_Constraint_ArrayHasKey testing |
|
7 | + */ |
|
8 | 8 | class SampleArrayAccess implements ArrayAccess |
9 | 9 | { |
10 | 10 | private $container; |