Passed
Push — master ( 912444...7dfa4b )
by Alec
02:40
created

AbstractOutputAdapter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A writeln() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace AlecRabbit\Spinner\Core\Adapters;
4
5
use AlecRabbit\Spinner\Core\Contracts\OutputInterface;
6
7
abstract class AbstractOutputAdapter implements OutputInterface
8
{
9
    /** {@inheritDoc} */
10
    public function writeln($messages, $options = 0): void
11
    {
12
        $this->write($messages, true, $options);
13
    }
14
}