Issues (16)

tests/Test_UuidModel.php (4 issues)

1
<?php
2
3
namespace LeKoala\Uuid\Tests;
4
5
use LeKoala\Uuid\HasUuid;
6
use SilverStripe\Dev\TestOnly;
7
use SilverStripe\ORM\DataObject;
8
use LeKoala\Uuid\UuidExtension;
9
10
class Test_UuidModel extends DataObject implements TestOnly
11
{
12
    use HasUuid;
13
14
    /**
15
     * @var string
16
     */
17
    private static $table_name = 'UuidModel';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
18
19
    /**
20
     * @var array<string,string>
21
     */
22
    private static $db = [
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
23
        'Title' => 'Varchar',
24
        'UuidAlias' => 'Uuid',
25
    ];
26
    /**
27
     * @var array<class-string>
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<class-string> at position 2 could not be parsed: Unknown type name 'class-string' at position 2 in array<class-string>.
Loading history...
28
     */
29
    private static $extensions = [
0 ignored issues
show
The private property $extensions is not used, and could be removed.
Loading history...
30
        UuidExtension::class
31
    ];
32
}
33