Completed
Push — master ( 6e1259...c4a3c9 )
by Nikola
02:37
created

NullProfile   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 58
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 7
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 58
rs 10

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A getSource() 0 4 1
A getProcessor() 0 4 1
A getNamer() 0 4 1
A getPreRotator() 0 4 1
A getDestination() 0 4 1
A getPostRotator() 0 4 1
1
<?php
2
3
namespace RunOpenCode\Backup\Tests\Mockup;
4
5
use RunOpenCode\Backup\Contract\ProfileInterface;
6
7
class NullProfile implements ProfileInterface
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    public function getName()
13
    {
14
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
15
    }
16
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function getSource()
21
    {
22
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
23
    }
24
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function getProcessor()
29
    {
30
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
31
    }
32
33
    /**
34
     * {@inheritdoc}
35
     */
36
    public function getNamer()
37
    {
38
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
39
    }
40
41
    /**
42
     * {@inheritdoc}
43
     */
44
    public function getPreRotator()
45
    {
46
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
47
    }
48
49
    /**
50
     * {@inheritdoc}
51
     */
52
    public function getDestination()
53
    {
54
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
55
    }
56
57
    /**
58
     * {@inheritdoc}
59
     */
60
    public function getPostRotator()
61
    {
62
        throw new \RuntimeException('This class is mockup of "RunOpenCode\\Backup\\Contract\\ProfileInterface" and none of its methods are implemented.');
63
    }
64
}