AkismetTestSubmission
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 7
c 1
b 0
f 1
dl 0
loc 10
wmc 0
1
<?php
2
3
namespace SilverStripe\Akismet\Tests;
4
5
use SilverStripe\ORM\DataObject;
6
use SilverStripe\Dev\TestOnly;
7
8
class AkismetTestSubmission extends DataObject implements TestOnly
9
{
10
    private static $db = array(
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
11
        'Name' => 'Varchar',
12
        'Email' => 'Varchar',
13
        'Content' => 'Text',
14
        'IsSpam' => 'Boolean',
15
    );
16
17
    private static $default_sort = 'ID';
0 ignored issues
show
introduced by
The private property $default_sort is not used, and could be removed.
Loading history...
18
}
19