Passed
Push — master ( 7131c3...da602a )
by Andreas
30:18
created

midcom_services_rcs_backend_null::get_revision()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @author tarjei huse
4
 * @package midcom.services.rcs
5
 * @copyright The Midgard Project, http://www.midgard-project.org
6
 * @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
7
 */
8
9
/**
10
 * @package midcom.services.rcs
11
 */
12
class midcom_services_rcs_backend_null extends midcom_services_rcs_backend
13
{
14
    protected function test_config()
15
    {
16
    }
17
18
    public function update(string $updatemessage = '')
19
    {
20
    }
21
22
    public function get_revision(string $revision) : array
23
    {
24
        return [];
25
    }
26
27
    protected function load_history() : array
28
    {
29
        return [];
30
    }
31
}
32