SolrIndexTest_MyDataObjectOne
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
dl 0
loc 8
c 1
b 0
f 0
wmc 0
1
<?php
2
3
namespace SilverStripe\FullTextSearch\Tests\SolrIndexTest;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataObject;
7
8
class SolrIndexTest_MyDataObjectOne extends DataObject implements TestOnly
9
{
10
    private static $db = [
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
11
        'Title' => 'Varchar(255)',
12
        'ShowInSearch' => 'Boolean'
13
    ];
14
15
    private static $table_name = 'SolrIndexTestMyDataObjectOne';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
16
}
17