Compressed::indentStr()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 1
1
<?php
2
3
namespace LesserPhp\Formatter;
4
5
/**
6
 * lesserphp
7
 * https://www.maswaba.de/lesserphp
8
 *
9
 * LESS CSS compiler, adapted from http://lesscss.org
10
 *
11
 * Copyright 2013, Leaf Corcoran <[email protected]>
12
 * Copyright 2016, Marcus Schwarz <[email protected]>
13
 * Licensed under MIT or GPLv3, see LICENSE
14
 * @package LesserPhp
15
 */
16
class Compressed extends Classic
17
{
18
19
    /**
20
     * Compressed constructor.
21
     */
22 1
    public function __construct()
23
    {
24 1
        $this->setAssignOperator(':');
25 1
        $this->setOpenChar('{');
26 1
        $this->setBreakChar('');
27 1
        $this->setDisabledSingle(true);
28 1
        $this->setSelectorSeparator(',');
29 1
        $this->setCompressColors(true);
30 1
    }
31
32
    /**
33
     * @param int $n
34
     *
35
     * @return string
36
     */
37 1
    public function indentStr($n = 0)
38
    {
39 1
        return '';
40
    }
41
}
42