| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * SCSSPHP |
| 4 | 4 | * |
| 5 | - * @copyright 2012-2018 Leaf Corcoran | |
| 5 | + * @copyright 2012-2015 Leaf Corcoran | |
| 6 | 6 | * |
| 7 | 7 | * @license http://opensource.org/licenses/MIT MIT |
| 8 | 8 | * |
| 9 | 9 | * @link http://leafo.github.io/scssphp |
| @@ -14,9 +14,9 @@ | ||
| 14 | 14 | use Leafo\ScssPhp\Formatter; |
| 15 | 15 | use Leafo\ScssPhp\Formatter\OutputBlock; |
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | - * Expanded formatter | |
| 18 | + * SCSS expanded formatter | |
| 19 | 19 | * |
| 20 | 20 | * @author Leaf Corcoran <[email protected]> |
| 21 | 21 | */ |
| 22 | 22 | class Expanded extends Formatter |
| @@ -32,9 +32,8 @@ | ||
| 32 | 32 | $this->open = ' {'; |
| 33 | 33 | $this->close = '}'; |
| 34 | 34 | $this->tagSeparator = ', '; |
| 35 | 35 | $this->assignSeparator = ': '; |
| 36 | - $this->keepSemicolons = true; | |
| 37 | 36 | } |
| 38 | 37 | |
| 39 | 38 | /** |
| 40 | 39 | * {@inheritdoc} |
| @@ -58,11 +57,11 @@ | ||
| 58 | 57 | $block->lines[$index] = preg_replace('/(\r|\n)+/', $glue, $line); |
| 59 | 58 | } |
| 60 | 59 | } |
| 61 | 60 | |
| 62 | - $this->write($inner . implode($glue, $block->lines)); | |
| 61 | + echo $inner . implode($glue, $block->lines); | |
| 63 | 62 | |
| 64 | 63 | if (empty($block->selectors) || ! empty($block->children)) { |
| 65 | - $this->write($this->break); | |
| 64 | + echo $this->break; | |
| 66 | 65 | } |
| 67 | 66 | } |
| 68 | 67 | } |