TagFieldTestBlogPost
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 7
c 1
b 0
f 0
dl 0
loc 11
1
<?php
2
3
namespace SilverStripe\TagField\Tests\Stub;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataObject;
7
use SilverStripe\TagField\Tests\Stub\TagFieldTestBlogTag;
8
9
class TagFieldTestBlogPost extends DataObject implements TestOnly
10
{
11
    private static $table_name = 'TagFieldTestBlogPost';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
12
13
    private static $db = [
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
14
        'Title'   => 'Text',
15
        'Content' => 'Text'
16
    ];
17
18
    private static $many_many = [
0 ignored issues
show
introduced by
The private property $many_many is not used, and could be removed.
Loading history...
19
        'Tags' => TagFieldTestBlogTag::class
20
    ];
21
}
22