Вход Регистрация
Файл: system/libs/scssphp/Formatter/Compact.php
Строк: 32
<?php

/**
 * SCSSPHP
 *
 * @copyright 2012-2020 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://scssphp.github.io/scssphp
 */

namespace ScssPhpScssPhpFormatter;

use 
ScssPhpScssPhpFormatter;

/**
 * Compact formatter
 *
 * @author Leaf Corcoran <leafot@gmail.com>
 *
 * @deprecated since 1.4.0. Use the Compressed formatter instead.
 */
class Compact extends Formatter
{
    
/**
     * {@inheritdoc}
     */
    
public function __construct()
    {
        @
trigger_error('The Compact 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 "}nn";
        
$this->tagSeparator ',';
        
$this->assignSeparator ':';
        
$this->keepSemicolons true;
    }

    
/**
     * {@inheritdoc}
     */
    
public function indentStr()
    {
        return 
' ';
    }
}
Онлайн: 0
Реклама