| Conditions | 5 |
| Paths | 6 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 51 | protected function blockLines(OutputBlock $block) |
||
| 52 | { |
||
| 53 | $inner = $this->indentStr(); |
||
| 54 | |||
| 55 | $glue = $this->break . $inner; |
||
| 56 | |||
| 57 | foreach ($block->lines as $index => $line) { |
||
| 58 | if (substr($line, 0, 2) === '/*') { |
||
| 59 | $block->lines[$index] = preg_replace('/\r\n?|\n|\f/', $this->break, $line); |
||
| 60 | } |
||
| 61 | } |
||
| 62 | |||
| 63 | $this->write($inner . implode($glue, $block->lines)); |
||
| 64 | |||
| 65 | if (empty($block->selectors) || ! empty($block->children)) { |
||
| 66 | $this->write($this->break); |
||
| 67 | } |
||
| 70 |