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