@@ -44,7 +44,7 @@ |
||
44 | 44 | * |
45 | 45 | * @return array(int => int) |
46 | 46 | */ |
47 | - protected function getErrorList($testFile='') |
|
47 | + protected function getErrorList($testFile = '') |
|
48 | 48 | { |
49 | 49 | switch ($testFile) { |
50 | 50 | case 'PropertyCommentUnitTest.pass.inc': |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * |
45 | 45 | * @return array(int => int) |
46 | 46 | */ |
47 | - protected function getErrorList($testFile='') |
|
47 | + protected function getErrorList($testFile = '') |
|
48 | 48 | { |
49 | 49 | switch ($testFile) { |
50 | 50 | case 'VariableInDoubleQuotedStringUnitTest.pass.inc': |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * |
46 | 46 | * @return array(int => int) |
47 | 47 | */ |
48 | - protected function getErrorList($testFile='') |
|
48 | + protected function getErrorList($testFile = '') |
|
49 | 49 | { |
50 | 50 | switch ($testFile) { |
51 | 51 | case 'AlphabeticalUseStatementsUnitTest.pass.inc': |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * |
47 | 47 | * @return array(int => int) |
48 | 48 | */ |
49 | - protected function getErrorList($testFile='') |
|
49 | + protected function getErrorList($testFile = '') |
|
50 | 50 | { |
51 | 51 | return array(); |
52 | 52 | |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @return array(int => int) |
65 | 65 | */ |
66 | - protected function getWarningList($testFile='') |
|
66 | + protected function getWarningList($testFile = '') |
|
67 | 67 | { |
68 | 68 | switch ($testFile) { |
69 | 69 | case 'UnnecessaryNamespaceUsageUnitTest.pass.1.inc': |
@@ -100,10 +100,10 @@ discard block |
||
100 | 100 | ); |
101 | 101 | |
102 | 102 | $a = [ |
103 | - 0 => [ 1 => 'O', 0 => 'O'], |
|
104 | - 1 => [ 1 => 'O', 0 => 'I'], |
|
105 | - 2 => [ 1 => 'I', 0 => 'O'], |
|
106 | - 3 => [ 1 => 'I', 0 => 'I'], |
|
103 | + 0 => [1 => 'O', 0 => 'O'], |
|
104 | + 1 => [1 => 'O', 0 => 'I'], |
|
105 | + 2 => [1 => 'I', 0 => 'O'], |
|
106 | + 3 => [1 => 'I', 0 => 'I'], |
|
107 | 107 | ]; |
108 | 108 | |
109 | 109 | foreach ($x as $k => $v) { |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | $a = [ |
114 | - function () { |
|
114 | + function() { |
|
115 | 115 | $b = [ |
116 | 116 | 'one' => 1, |
117 | 117 | 'four' => 4, |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | foreach ($bar as $key => $value) { |
126 | 126 | } |
127 | 127 | }, |
128 | - function () { |
|
128 | + function() { |
|
129 | 129 | }, |
130 | 130 | 'one' => 1, |
131 | 131 | 2, |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | => 'fail', |
137 | 137 | ]; |
138 | 138 | |
139 | -$values = [ |
|
139 | +$values = [ |
|
140 | 140 | 'Test:1' => [ |
141 | 141 | 'object_id' => 1, |
142 | 142 | 'object_class' => 'Test', |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * |
46 | 46 | * @return array(int => int) |
47 | 47 | */ |
48 | - protected function getErrorList($testFile='') |
|
48 | + protected function getErrorList($testFile = '') |
|
49 | 49 | { |
50 | 50 | switch ($testFile) { |
51 | 51 | case 'UseArrayShortTagUnitTest.pass.inc': |
@@ -10,8 +10,7 @@ |
||
10 | 10 | array(4, 5, 6), |
11 | 11 | ); |
12 | 12 | |
13 | -array |
|
14 | -( |
|
13 | +array( |
|
15 | 14 | array/* will be deleted */( ), |
16 | - array (1), array (3) |
|
15 | + array(1), array(3) |
|
17 | 16 | ); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * |
15 | 15 | * @param array $a |
16 | 16 | */ |
17 | -function foo (array $a) |
|
17 | +function foo(array $a) |
|
18 | 18 | { |
19 | 19 | //do stuff |
20 | 20 | } |
21 | 21 | \ No newline at end of file |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * |
45 | 45 | * @return array(int => int) |
46 | 46 | */ |
47 | - protected function getErrorList($testFile='') |
|
47 | + protected function getErrorList($testFile = '') |
|
48 | 48 | { |
49 | 49 | switch ($testFile) { |
50 | 50 | case 'ArrayAlignmentUnitTest.pass.inc': |