See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401]
1 <?php 2 3 /** 4 * SCSSPHP 5 * 6 * @copyright 2012-2020 Leaf Corcoran 7 * 8 * @license http://opensource.org/licenses/MIT MIT 9 * 10 * @link http://scssphp.github.io/scssphp 11 */ 12 13 namespace ScssPhp\ScssPhp\Formatter; 14 15 use ScssPhp\ScssPhp\Formatter; 16 17 /** 18 * Compact formatter 19 * 20 * @author Leaf Corcoran <leafot@gmail.com> 21 * 22 * @deprecated since 1.4.0. Use the Compressed formatter instead. 23 * 24 * @internal 25 */ 26 class Compact extends Formatter 27 { 28 /** 29 * {@inheritdoc} 30 */ 31 public function __construct() 32 { 33 @trigger_error('The Compact formatter is deprecated since 1.4.0. Use the Compressed formatter instead.', E_USER_DEPRECATED); 34 35 $this->indentLevel = 0; 36 $this->indentChar = ''; 37 $this->break = ''; 38 $this->open = ' {'; 39 $this->close = "}\n\n"; 40 $this->tagSeparator = ','; 41 $this->assignSeparator = ':'; 42 $this->keepSemicolons = true; 43 } 44 45 /** 46 * {@inheritdoc} 47 */ 48 public function indentStr() 49 { 50 return ' '; 51 } 52 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body