Issues (186)

SolrIndexVersionedTest_Object.php (3 issues)

Severity
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
The private property $table_name is not used, and could be removed.
Loading history...
16
17
    private static $extensions = [
0 ignored issues
show
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
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