SolrReindexTest_Item
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 3
Bugs 1 Features 0
Metric Value
eloc 7
c 3
b 1
f 0
dl 0
loc 11
wmc 0
1
<?php
2
3
namespace SilverStripe\FullTextSearch\Tests\SolrReindexTest;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataObject;
7
use SilverStripe\FullTextSearch\Tests\SolrReindexTest\SolrReindexTest_ItemExtension;
8
9
/**
10
 * Does not have any variant extensions
11
 */
12
class SolrReindexTest_Item extends DataObject
13
{
14
    private static $table_name = 'SolrReindexTest_Item';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
15
16
    private static $extensions = [
0 ignored issues
show
introduced by
The private property $extensions is not used, and could be removed.
Loading history...
17
        SolrReindexTest_ItemExtension::class
18
    ];
19
20
    private static $db = array(
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
21
        'Title' => 'Varchar(255)',
22
        'Variant' => 'Int(0)'
23
    );
24
}
25