Issues (216)

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\ORM\DataObject;
7
use SilverStripe\Dev\TestOnly;
8
9
class TestDataObject extends DataObject implements TestOnly
10
{
11
    private static $table_name = 'TestDataObject';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
12
13
    private static array $db = [
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
14
        'Title' => 'Varchar(255)',
15
        'Content' => 'HTMLText',
16
    ];
17
18
    private static $has_one = [
0 ignored issues
show
The private property $has_one is not used, and could be removed.
Loading history...
19
        'ElementalArea' => ElementalArea::class,
20
    ];
21
22
    private static $owns = [
0 ignored issues
show
The private property $owns is not used, and could be removed.
Loading history...
23
        'ElementalArea',
24
    ];
25
}
26