These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace SilverStripe\GridFieldQueuedExport\Tests; |
||
4 | |||
5 | use SilverStripe\Dev\TestOnly; |
||
6 | use SilverStripe\ORM\DataObject; |
||
7 | |||
8 | class GenerateCSVJobTestRecord extends DataObject implements TestOnly |
||
9 | { |
||
10 | private static $table_name = 'GenerateCSVJobTestRecord'; |
||
0 ignored issues
–
show
|
|||
11 | |||
12 | private static $summary_fields = [ |
||
0 ignored issues
–
show
|
|||
13 | 'Title', |
||
14 | 'Content', |
||
15 | 'PublishOn', |
||
16 | ]; |
||
17 | |||
18 | private static $default_sort = [ |
||
0 ignored issues
–
show
|
|||
19 | 'Title', |
||
20 | ]; |
||
21 | |||
22 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
23 | 'Title' => 'Varchar', |
||
24 | 'Content' => 'Varchar', |
||
25 | 'PublishOn' => 'Datetime' |
||
26 | ]; |
||
27 | } |
||
28 |
This check marks private properties in classes that are never used. Those properties can be removed.