@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * |
41 | 41 | * @return array<int, int> |
42 | 42 | */ |
43 | - public function getErrorList($testFile='DisallowObjectStringIndexUnitTest.js') |
|
43 | + public function getErrorList($testFile = 'DisallowObjectStringIndexUnitTest.js') |
|
44 | 44 | { |
45 | 45 | if ($testFile !== 'DisallowObjectStringIndexUnitTest.js') { |
46 | 46 | return array(); |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * |
41 | 41 | * @return array<int, int> |
42 | 42 | */ |
43 | - public function getErrorList($testFile='ObjectMemberCommaUnitTest.js') |
|
43 | + public function getErrorList($testFile = 'ObjectMemberCommaUnitTest.js') |
|
44 | 44 | { |
45 | 45 | if ($testFile !== 'ObjectMemberCommaUnitTest.js') { |
46 | 46 | return array(); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | $obj = new MyClass(); |
3 | -$obj =& new MyClass(); |
|
3 | +$obj = & new MyClass(); |
|
4 | 4 | $obj = &new MyClass(); |
5 | 5 | new MyClass(); |
6 | 6 |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | |
14 | 14 | public function SelfMemberReferenceUnitTestExample() |
15 | 15 | { |
16 | - $testResults =& $this->testResults; |
|
16 | + $testResults = & $this->testResults; |
|
17 | 17 | |
18 | 18 | |
19 | 19 | // Correct call to self. |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | MyClass::test($value); |
58 | 58 | }; |
59 | 59 | |
60 | - $array = array(1,2,3); |
|
60 | + $array = array(1, 2, 3); |
|
61 | 61 | array_walk($array, $callback); |
62 | 62 | } |
63 | 63 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | class ValidCamelCaseClassEndingWithNumber5 extends MyClass {} |
32 | 32 | class 12345 extends MyClass {} |
33 | 33 | |
34 | -class Testing{} |
|
34 | +class Testing {} |
|
35 | 35 | |
36 | 36 | class Base |
37 | 37 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | 48 => 1, |
58 | 58 | 70 => 1, |
59 | 59 | 71 => 1, |
60 | - ); |
|
60 | + ); |
|
61 | 61 | |
62 | 62 | }//end getErrorList() |
63 | 63 |