Issues (20)

src/Models/SecurityAlert.php (3 issues)

Severity
1
<?php
2
3
namespace BringYourOwnIdeas\SecurityChecker\Models;
4
5
use SilverStripe\ORM\DataObject;
6
7
/**
8
 * Describes a known security issue of an installed Composer package
9
 */
10
class SecurityAlert extends DataObject
11
{
12
    private static $table_name = 'SecurityAlert';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
13
14
    private static $db = array(
0 ignored issues
show
The private property $db is not used, and could be removed.
Loading history...
15
        'PackageName' => 'Varchar(255)',
16
        'Version' => 'Varchar(255)',
17
        'Title' => 'Varchar(255)',
18
        'ExternalLink' => 'Varchar(255)',
19
        'Identifier' => 'Varchar(255)',
20
    );
21
22
    private static $summary_fields = array(
0 ignored issues
show
The private property $summary_fields is not used, and could be removed.
Loading history...
23
        'PackageName',
24
        'Version',
25
        'Title',
26
    );
27
}
28