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
introduced
by
![]() |
|||
13 | |||
14 | private static $db = array( |
||
0 ignored issues
–
show
|
|||
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
|
|||
23 | 'PackageName', |
||
24 | 'Version', |
||
25 | 'Title', |
||
26 | ); |
||
27 | } |
||
28 |