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

NullLogger::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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
}