Completed
Push — master ( 5df59f...c0d6d9 )
by James Ekow Abaka
02:05
created

NullConnection::__call()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 2
crap 1
1
<?php
2
3
namespace ntentan\atiaa;
4
5
class NullConnection {
6
7 2
    public function __call($name, $arguments) {
8 2
        throw new exceptions\DatabaseDriverException("Please specify a database connection.");
9
    }
10
11
}
12