Passed
Push — master ( 86fe81...69b6a3 )
by Dispositif
02:31
created

NullLogger   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 3
c 1
b 0
f 1
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
/*
3
 * This file is part of dispositif/wikibot application (@github)
4
 * 2019-2023 © Philippe M./Irønie  <[email protected]>
5
 * For the full copyright and MIT license information, view the license file.
6
 */
7
8
declare(strict_types=1);
9
10
namespace App\Infrastructure\Monitor;
11
12
use Psr\Log\NullLogger as PsrNullLogger;
13
14
class NullLogger extends PsrNullLogger
15
{
16
    public NullStats $stats;
17
18
    public function __construct()
19
    {
20
        $this->stats = new NullStats();
21
    }
22
}