Issues (124)

tests/Stubs/Player.php (3 issues)

Severity
1
<?php
2
3
namespace SilverStripe\Comments\Tests\Stubs;
4
5
use SilverStripe\Dev\TestOnly;
6
use SilverStripe\ORM\DataObject;
7
use SilverStripe\ORM\ManyManyList;
8
9
/**
10
 * @method ManyManyList Teams()
11
 */
12
class Player extends DataObject implements TestOnly
13
{
14
    private static $table_name = 'CommentsTest_Player';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
15
16
    private static $db = array(
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
17
        'Name' => 'Varchar',
18
        'Email' => 'Varchar',
19
    );
20
21
    private static $belongs_many_many = [
0 ignored issues
show
The private property $belongs_many_many is not used, and could be removed.
Loading history...
22
        'Teams' => Team::class,
23
    ];
24
}
25