CSPDocument
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 8
c 2
b 0
f 0
dl 0
loc 14
wmc 0
1
<?php
2
3
namespace Signify\Models;
4
5
use SilverStripe\ORM\DataObject;
6
use SilverStripe\CMS\Model\SiteTree;
7
8
class CSPDocument extends DataObject
9
{
10
    private static $table_name = 'Signify_Document';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
11
12
    private static $db = [
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
13
        'URI' => 'Varchar(255)',
14
    ];
15
16
    private static $has_one = [
0 ignored issues
show
introduced by
The private property $has_one is not used, and could be removed.
Loading history...
17
        'SiteTree' => SiteTree::class,
18
    ];
19
20
    private static $belongs_many_many = [
0 ignored issues
show
introduced by
The private property $belongs_many_many is not used, and could be removed.
Loading history...
21
        'CSPViolations' => CSPViolation::class,
22
    ];
23
}
24