Passed
Push — master ( 06f5a7...6013ae )
by Loban
02:50
created

DummyManager::__get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 1
crap 1
1
<?php
2
/**
3
 * @link https://github.com/lav45/yii2-activity-logger
4
 * @copyright Copyright (c) 2017 LAV45
5
 * @author Alexey Loban <[email protected]>
6
 * @license http://opensource.org/licenses/BSD-3-Clause
7
 */
8
9
namespace lav45\activityLogger;
10
11
use lav45\activityLogger\storage\DeleteCommand;
12
use lav45\activityLogger\storage\MessageData;
13
14
class DummyManager implements ManagerInterface
15
{
16 1
    public function isEnabled(): bool
17
    {
18 1
        return false;
19
    }
20
21 1
    public function log(MessageData $message): bool
22
    {
23 1
        return false;
24
    }
25
26 1
    public function delete(DeleteCommand $command): bool
27
    {
28 1
        return false;
29
    }
30
31 1
    public function __get(string $name)
32
    {
33 1
        return null;
34
    }
35
36 1
    public function __set(string $name, $value): void
37
    {
38 1
    }
39
40 1
    public function __isset(string $name)
41
    {
42 1
        return false;
43
    }
44
}