Test_FilePondModel
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 11
c 1
b 0
f 0
dl 0
loc 15
1
<?php
2
3
namespace LeKoala\FilePond\Test;
4
5
use SilverStripe\Assets\File;
6
use SilverStripe\Assets\Image;
7
use SilverStripe\Dev\TestOnly;
8
use SilverStripe\ORM\DataObject;
9
10
class Test_FilePondModel extends DataObject implements TestOnly
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
        "Name" => "Varchar",
14
    ];
15
    private static $has_one = [
0 ignored issues
show
introduced by
The private property $has_one is not used, and could be removed.
Loading history...
16
        "Image" => Image::class,
17
        "SmallImage" => Image::class,
18
        "File" => File::class,
19
    ];
20
    private static $image_sizes = [
0 ignored issues
show
introduced by
The private property $image_sizes is not used, and could be removed.
Loading history...
21
        "Image" => [1080, 1080],
22
        "SmallImage" => [512, 512, 'max']
23
    ];
24
    private static $table_name = 'FilePondModel';
0 ignored issues
show
introduced by
The private property $table_name is not used, and could be removed.
Loading history...
25
}
26