Passed
Push — master ( 056350...65484c )
by Satoshi
05:02
created

NullObserver::start()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace DependencyAnalyzer\DependencyDumper;
5
6
use DependencyAnalyzer\DependencyGraph\FullyQualifiedStructuralElementName;
7
use DependencyAnalyzer\Exceptions\AnalysedFileException;
8
use DependencyAnalyzer\Exceptions\InvalidFullyQualifiedStructureElementNameException;
9
use DependencyAnalyzer\Exceptions\ResolveDependencyException;
10
11
class NullObserver implements ObserverInterface
12
{
13
    public function start(int $max): void
14
    {
15
        return;
16
    }
17
18
    public function end(): void
19
    {
20
        return;
21
    }
22
23
    public function update(string $currentFile): void
24
    {
25
        return;
26
    }
27
28
    public function notifyAnalyzeFileError(AnalysedFileException $e): void
29
    {
30
        return;
31
    }
32
33
    public function notifyResolveDependencyError(string $file, ResolveDependencyException $e): void
34
    {
35
        return;
36
    }
37
38
    public function notifyResolvePhpDocError(string $file, FullyQualifiedStructuralElementName $fqsen, InvalidFullyQualifiedStructureElementNameException $e): void
39
    {
40
        return;
41
    }
42
}
43