for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LesserPhp\Formatter;
/**
* lesserphp
* https://www.maswaba.de/lesserphp
*
* LESS CSS compiler, adapted from http://lesscss.org
* Copyright 2013, Leaf Corcoran <[email protected]>
* Copyright 2016, Marcus Schwarz <[email protected]>
* Licensed under MIT or GPLv3, see LICENSE
* @package LesserPhp
*/
class Compressed extends Classic
{
* Compressed constructor.
public function __construct()
$this->setAssignOperator(':');
$this->setOpenChar('{');
$this->setBreakChar('');
$this->setDisabledSingle(true);
$this->setSelectorSeparator(',');
$this->setCompressColors(true);
}
* @param int $n
* @return string
public function indentStr($n = 0)
return '';