@@ -100,7 +100,7 @@ |
||
| 100 | 100 | |
| 101 | 101 | protected function trimLines() |
| 102 | 102 | { |
| 103 | - array_walk_recursive($this->invalidLines, function (&$item) { |
|
| 103 | + array_walk_recursive($this->invalidLines, function(&$item) { |
|
| 104 | 104 | if (is_string($item)) { |
| 105 | 105 | $item = trim($item); |
| 106 | 106 | } |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | if (!empty($this->invalidLines[$file][$lineNumber])) { |
| 109 | - $errors = array_merge($errors, $this->invalidLines[$file][$lineNumber]); |
|
| 109 | + $errors = array_merge($errors, $this->invalidLines[$file][$lineNumber]); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | $errors = array_merge($errors, $this->getRangeErrors($file, $lineNumber)); |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | $file = '/home/scott/code/coverageChecker/src/DiffFilter.php'; |
| 17 | 17 | |
| 18 | 18 | $this->assertFalse( |
| 19 | - (bool)$infection->getErrorsOnLine( |
|
| 19 | + (bool) $infection->getErrorsOnLine( |
|
| 20 | 20 | $file, |
| 21 | 21 | 20 |
| 22 | 22 | ) |
| 23 | 23 | ); |
| 24 | 24 | $this->assertTrue( |
| 25 | - (bool)$infection->getErrorsOnLine( |
|
| 25 | + (bool) $infection->getErrorsOnLine( |
|
| 26 | 26 | $file, |
| 27 | 27 | 21 |
| 28 | 28 | ) |