TestWidget
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 0
eloc 4
c 2
b 0
f 1
dl 0
loc 6
1
<?php
2
3
namespace SilverStripe\Widgets\Tests\WidgetControllerTest;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\Widgets\Model\Widget;
7
8
class TestWidget extends Widget implements TestOnly
9
{
10
    private static $table_name = 'WidgetControllerTest_TestWidget';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
11
12
    private static $db = [
0 ignored issues
show
introduced by
The private property $db is not used, and could be removed.
Loading history...
13
        'TestValue' => 'Text',
14
    ];
15
}
16