SolrIndexVersionedTest_Object
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 13
c 0
b 0
f 0
wmc 0
1
<?php
2
3
namespace SilverStripe\FullTextSearch\Tests\SolrIndexVersionedTest;
4
5
use SilverStripe\ORM\DataObject;
6
use SilverStripe\Dev\TestOnly;
7
use SilverStripe\Versioned\Versioned;
8
9
/**
10
 * Non-sitetree versioned dataobject
11
 */
12
class SolrIndexVersionedTest_Object extends DataObject implements TestOnly
13
{
14
15
    private static $table_name = 'SolrIndexVersionedTest_Object';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
16
17
    private static $extensions = [
0 ignored issues
show
introduced by
The private property $extensions is not used, and could be removed.
Loading history...
18
        Versioned::class
19
    ];
20
21
    private static $db = [
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
22
        'Title' => 'Varchar',
23
        'Content' => 'Text',
24
        'TestText' => 'Varchar',
25
    ];
26
}
27