Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
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 class Compact extends Formatter 25 { 26 /** 27 * {@inheritdoc} 28 */ 29 public function __construct() 30 { 31 @trigger_error('The Compact formatter is deprecated since 1.4.0. Use the Compressed formatter instead.', E_USER_DEPRECATED); 32 33 $this->indentLevel = 0; 34 $this->indentChar = ''; 35 $this->break = ''; 36 $this->open = ' {'; 37 $this->close = "}\n\n"; 38 $this->tagSeparator = ','; 39 $this->assignSeparator = ':'; 40 $this->keepSemicolons = true; 41 } 42 43 /** 44 * {@inheritdoc} 45 */ 46 public function indentStr() 47 { 48 return ' '; 49 } 50 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body