Issues (18)

tests/Stub/TagFieldTestBlogPost.php (3 issues)

Severity
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
The private property $table_name is not used, and could be removed.
Loading history...
12
13
    private static $db = [
0 ignored issues
show
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
The private property $many_many is not used, and could be removed.
Loading history...
19
        'Tags' => TagFieldTestBlogTag::class
20
    ];
21
}
22