Test_PhoneNumberModel
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 7
wmc 0
1
<?php
2
3
namespace LeKoala\PhoneNumber\Test;
4
5
use SilverStripe\ORM\DataObject;
6
use SilverStripe\Dev\TestOnly;
7
use LeKoala\PhoneNumber\DBPhone;
8
9
class Test_PhoneNumberModel extends DataObject implements TestOnly
10
{
11
    private static $db = [
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
12
        "Phone" =>  DBPhone::class,
13
        "CountryCode" => 'Varchar(2)',
14
    ];
15
    private static $table_name = 'PhoneNumberModel';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
16
}
17