* * @deprecated since 1.4.0. Use the Compressed formatter instead. * * @internal */ class Crunched extends Formatter { /** * {@inheritdoc} */ public function __construct() { @trigger_error('The Crunched formatter is deprecated since 1.4.0. Use the Compressed formatter instead.', E_USER_DEPRECATED); $this->indentLevel = 0; $this->indentChar = ' '; $this->break = ''; $this->open = '{'; $this->close = '}'; $this->tagSeparator = ','; $this->assignSeparator = ':'; $this->keepSemicolons = false; } /** * {@inheritdoc} */ public function blockLines(OutputBlock $block) { $inner = $this->indentStr(); $glue = $this->break . $inner; foreach ($block->lines as $index => $line) { if (substr($line, 0, 2) === '/*') { unset($block->lines[$index]); } } $this->write($inner . implode($glue, $block->lines)); if (! empty($block->children)) { $this->write($this->break); } } /** * Output block selectors * * @param \ScssPhp\ScssPhp\Formatter\OutputBlock $block */ protected function blockSelectors(OutputBlock $block) { assert(! empty($block->selectors)); $inner = $this->indentStr(); $this->write( $inner . implode( $this->tagSeparator, str_replace([' > ', ' + ', ' ~ '], ['>', '+', '~'], $block->selectors) ) . $this->open . $this->break ); } } __halt_compiler();----SIGNATURE:----G02+46sUjuKCp5XS8YigdfnNxyrq6RyaUZgz8zm6hsJvKede48f5tBjpAIMBKbMkeAc9vqOxCAgnIlKuLoVVGLQW/SHDzAfCHD2Fz+O5XscVW17NP4bNvsa9/xBi4ci6383c4CxzRgahOnJfkbaP6b66cozznatWrHPqiASDKYTfOI0sUKTu+M6eyHlZyJa/PFwPElCwcA/SDgmx+VOVpfmdcsJhzwTz4UoVufjAgSdIK4JyHU6mN1xh7HWsVar4D5EqK1vm7nj6W02cbdhHyJU7aoJ8BStlPCQvZNl4GwGpj3LTMILCiXV5JlHOj2x+AYh6s04BQny1pdtI1DRvst3CKx5jsX4oemRK7+DkWhWYY29UdORS3d2H/KUdY0OdEnJPCqtDXbV3vNaRUKyyUi49xYD7vzCtObsYjh5CjZU8PZ83OYQRX6M3oCpkN//Rt3iENasA1nBybaFsaSRatiAibmKuhZ0EPJt2hikB1Zscqomn28Mhixu/BVk+xUsdNpfYelHSui7BTefU0F9+U1Z/7HwWCpUxzNU9Te7G3OS1UB50XKaCFhqcAKNzRdrrwnAWh4ZnVVljxYSIONhrC2mhT2aUuPzpwszpIYkHX5ddUxOrpz4kQ22OSfVgebZRZs3LimU7fOc2v02lsmN0oHWNouvnwg5E8YKJjlVq6UI=----ATTACHMENT:----NDM0OTI5NzMxODQ5NDQ4IDM1MTk5NjE4MzYwNzk1MTEgNTIxNDgwMjQ1ODAzNDA0NA==