@@ -62,7 +62,7 @@ |
||
62 | 62 | 9 => 1, |
63 | 63 | 10 => 1, |
64 | 64 | 11 => 1, |
65 | - ); |
|
65 | + ); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * @return array<int, int> |
47 | 47 | * @throws RuntimeException |
48 | 48 | */ |
49 | - protected function getErrorList($testFile='') |
|
49 | + protected function getErrorList($testFile = '') |
|
50 | 50 | { |
51 | 51 | switch ($testFile) { |
52 | 52 | case 'VariableInDoubleQuotedStringUnitTest.pass.inc': |
@@ -61,7 +61,7 @@ |
||
61 | 61 | 34 => 1, |
62 | 62 | 37 => 1, |
63 | 63 | 41 => 1, |
64 | - ); |
|
64 | + ); |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * @return array<int, int> |
47 | 47 | * @throws RuntimeException |
48 | 48 | */ |
49 | - protected function getErrorList($testFile='') |
|
49 | + protected function getErrorList($testFile = '') |
|
50 | 50 | { |
51 | 51 | switch ($testFile) { |
52 | 52 | case 'PropertyCommentUnitTest.pass.inc': |
@@ -59,20 +59,20 @@ discard block |
||
59 | 59 | 8 => 1, |
60 | 60 | 9 => 1, |
61 | 61 | 12 => 1, |
62 | - ); |
|
62 | + ); |
|
63 | 63 | // Take care, more than one fix will be applied. |
64 | 64 | case 'AlphabeticalUseStatementsUnitTest.fail.2.inc': |
65 | 65 | return array( |
66 | 66 | 6 => 1, |
67 | 67 | 8 => 1, |
68 | - ); |
|
68 | + ); |
|
69 | 69 | case 'AlphabeticalUseStatementsUnitTest.fail.3.inc': |
70 | 70 | return array( |
71 | 71 | 7 => 1, |
72 | 72 | 8 => 1, |
73 | 73 | 10 => 1, |
74 | 74 | 15 => 1, |
75 | - ); |
|
75 | + ); |
|
76 | 76 | case 'AlphabeticalUseStatementsUnitTest.fail.4.inc': |
77 | 77 | return array( |
78 | 78 | 4 => 1, |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | 17 => 1, |
82 | 82 | 20 => 1, |
83 | 83 | 21 => 1, |
84 | - ); |
|
84 | + ); |
|
85 | 85 | }//end switch |
86 | 86 | |
87 | 87 | throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__); |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * @return array<int, int> |
48 | 48 | * @throws RuntimeException |
49 | 49 | */ |
50 | - protected function getErrorList($testFile='') |
|
50 | + protected function getErrorList($testFile = '') |
|
51 | 51 | { |
52 | 52 | switch ($testFile) { |
53 | 53 | case 'AlphabeticalUseStatementsUnitTest.pass.inc': |
@@ -61,7 +61,7 @@ |
||
61 | 61 | 13 => 1, |
62 | 62 | 15 => 1, |
63 | 63 | 16 => 2, |
64 | - ); |
|
64 | + ); |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__); |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * @return array<int, int> |
48 | 48 | * @throws RuntimeException |
49 | 49 | */ |
50 | - protected function getErrorList($testFile='') |
|
50 | + protected function getErrorList($testFile = '') |
|
51 | 51 | { |
52 | 52 | switch ($testFile) { |
53 | 53 | case 'UseArrayShortTagUnitTest.pass.inc': |
@@ -85,7 +85,7 @@ |
||
85 | 85 | 145 => 1, |
86 | 86 | 151 => 2, |
87 | 87 | 155 => 1, |
88 | - ); |
|
88 | + ); |
|
89 | 89 | }//end switch |
90 | 90 | |
91 | 91 | throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | * @return array<int, int> |
47 | 47 | * @throws RuntimeException |
48 | 48 | */ |
49 | - protected function getErrorList($testFile='') |
|
49 | + protected function getErrorList($testFile = '') |
|
50 | 50 | { |
51 | 51 | switch ($testFile) { |
52 | 52 | case 'ArrayAlignmentUnitTest.pass.inc': |
@@ -90,12 +90,12 @@ discard block |
||
90 | 90 | 46 => 1, |
91 | 91 | 52 => 1, |
92 | 92 | 56 => 1, |
93 | - ); |
|
93 | + ); |
|
94 | 94 | case 'UnnecessaryNamespaceUsageUnitTest.fail.2.inc': |
95 | 95 | return array( |
96 | 96 | 10 => 1, |
97 | 97 | 11 => 1, |
98 | - ); |
|
98 | + ); |
|
99 | 99 | case 'UnnecessaryNamespaceUsageUnitTest.fail.3.inc': |
100 | 100 | return array( |
101 | 101 | 15 => 1, |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | 22 => 1, |
106 | 106 | 23 => 1, |
107 | 107 | 25 => 3, |
108 | - ); |
|
108 | + ); |
|
109 | 109 | }//end switch |
110 | 110 | |
111 | 111 | throw new RuntimeException("Testfile {$testFile} in ".__DIR__." is not handled by ".__CLASS__); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * |
48 | 48 | * @return array<int, int> |
49 | 49 | */ |
50 | - protected function getErrorList($testFile='') |
|
50 | + protected function getErrorList($testFile = '') |
|
51 | 51 | { |
52 | 52 | return array(); |
53 | 53 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * @return array<int, int> |
66 | 66 | * @throws RuntimeException |
67 | 67 | */ |
68 | - protected function getWarningList($testFile='') |
|
68 | + protected function getWarningList($testFile = '') |
|
69 | 69 | { |
70 | 70 | switch ($testFile) { |
71 | 71 | case 'UnnecessaryNamespaceUsageUnitTest.pass.1.inc': |