Console   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A write() 0 6 1
1
<?php
2
3
namespace Simplario\Checker\Output;
4
5
/**
6
 * Class Console
7
 *
8
 * @package Simplario\Checker\Output
9 1
 */
10
class Console extends AbstractOutput
11 1
{
12
    /**
13 1
     * @param string $msg
14
     * @param string $type
15
     *
16
     * @return $this
17
     */
18
    public function write($msg = '', $type = self::TYPE_DEFAULT)
19
    {
20
        echo $msg . PHP_EOL;
21
22
        return $this;
23
    }
24
}
25