Passed
Push — master ( f24dfb...067f89 )
by Jelmer
02:23
created

NullAuthLogger   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 12
ccs 5
cts 5
cp 1
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A warning() 0 2 1
A info() 0 2 1
A debug() 0 2 1
1
<?php declare(strict_types=1);
2
3
namespace jschreuder\MiddleAuth\Util;
4
5
final class NullAuthLogger implements AuthLoggerInterface
6
{
7 4
    public function info(string $message, ?array $context = null): void
8
    {
9 4
    }
10
11 21
    public function debug(string $message, ?array $context = null): void
12
    {
13 21
    }
14
15 3
    public function warning(string $message, ?array $context = null): void
16
    {
17 3
    }
18
}
19