Passed
Push — master ( 04a6e2...090a67 )
by Alec
01:41
created

Line   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A eraseToEnd() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace AlecRabbit\Cli\Tools;
4
5
use const AlecRabbit\ESC;
6
7
class Line
8
{
9
    /**
10
     * Clears screen
11
     *
12
     * @return string
13
     */
14
    public static function eraseToEnd(): string
15
    {
16
        return ESC . '[K';
17
    }
18
}
19