@@ -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': |
@@ -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': |
@@ -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': |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $stackPtr, |
| 82 | 82 | $currScope |
| 83 | 83 | ) { |
| 84 | - $find = array( |
|
| 84 | + $find = array( |
|
| 85 | 85 | T_COMMENT, |
| 86 | 86 | T_DOC_COMMENT_CLOSE_TAG, |
| 87 | 87 | T_CLASS, |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | T_STRING, |
| 194 | 194 | ); |
| 195 | 195 | |
| 196 | - $start = $phpcsFile->findNext( |
|
| 196 | + $start = $phpcsFile->findNext( |
|
| 197 | 197 | PHP_CodeSniffer_Tokens::$emptyTokens, |
| 198 | 198 | ($stackPtr + 1), |
| 199 | 199 | null, |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | ',', |
| 29 | 29 | array_filter( |
| 30 | 30 | $standards, |
| 31 | - function ($v) use ($myStandardName) { |
|
| 31 | + function($v) use ($myStandardName) { |
|
| 32 | 32 | return $v !== $myStandardName; |
| 33 | 33 | } |
| 34 | 34 | ) |