Passed
Push — 4 ( cadd86...a847d9 )
by Guy
11:20 queued 11s
created

tests/Src/TestDataObject.php (4 issues)

Severity
1
<?php
2
3
namespace DNADesign\Elemental\Tests\Src;
4
5
use DNADesign\Elemental\Models\ElementalArea;
6
use SilverStripe\Control\Controller;
7
use SilverStripe\Control\Director;
8
use SilverStripe\ORM\DataObject;
9
use SilverStripe\Dev\TestOnly;
10
11
class TestDataObject extends DataObject implements TestOnly
12
{
13
    private static $table_name = 'TestDataObject';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
14
15
    private static array $db = [
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
16
        'Title' => 'Varchar(255)',
17
        'Content' => 'HTMLText',
18
    ];
19
20
    private static $has_one = [
0 ignored issues
show
The private property $has_one is not used, and could be removed.
Loading history...
21
        'ElementalArea' => ElementalArea::class,
22
    ];
23
24
    private static $owns = [
0 ignored issues
show
The private property $owns is not used, and could be removed.
Loading history...
25
        'ElementalArea',
26
    ];
27
}
28