@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | HERE |
| 137 | 137 | , |
| 138 | 138 | ]; |
| 139 | - $issueXML = new IssueXML(); |
|
| 139 | + $issueXML = new IssueXML(); |
|
| 140 | 140 | foreach ($xmlStrings as $xmlString) { |
| 141 | 141 | $xml = new \DOMDocument('1.0', 'UTF-8'); |
| 142 | 142 | $xml->validateOnParse = true; |
@@ -221,7 +221,7 @@ discard block |
||
| 221 | 221 | '/a/dir/source.php', |
| 222 | 222 | '/a/nother/dir/src.php', |
| 223 | 223 | ]; |
| 224 | - $actualFiles = $this->sourceHandler->getFilesWithIssues(); |
|
| 224 | + $actualFiles = $this->sourceHandler->getFilesWithIssues(); |
|
| 225 | 225 | $this->assertEquals($expectedFiles, $actualFiles); |
| 226 | 226 | } |
| 227 | 227 | |
@@ -369,8 +369,7 @@ |
||
| 369 | 369 | switch ($tmp = (isset($outputIssues[$lineNumber]) |
| 370 | 370 | ? count($outputIssues[$lineNumber]) |
| 371 | 371 | : 0)) { |
| 372 | - case 0: |
|
| 373 | - break; |
|
| 372 | + case 0 : break; |
|
| 374 | 373 | case 1: |
| 375 | 374 | $lineClasses[] = $outputIssues[$lineNumber][0]->foundBy; |
| 376 | 375 | break; |
@@ -237,7 +237,7 @@ |
||
| 237 | 237 | // Go back until the file is somewhere below curDir |
| 238 | 238 | while (strpos($dir, $curDir) !== 0) { |
| 239 | 239 | // chop off one subDir from $curDir |
| 240 | - $curDir = substr( |
|
| 240 | + $curDir = substr( |
|
| 241 | 241 | $curDir, |
| 242 | 242 | 0, |
| 243 | 243 | strrpos($curDir, DIRECTORY_SEPARATOR, -2) + 1 |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | 'file[@path="'.$filename.'"]', |
| 101 | 101 | $parentNode |
| 102 | 102 | ); |
| 103 | - $lineCount = (int) $parentNode->getAttribute('lines'); |
|
| 103 | + $lineCount = (int) $parentNode->getAttribute('lines'); |
|
| 104 | 104 | |
| 105 | 105 | $result = []; |
| 106 | 106 | foreach ($files as $file) { |