1 | <?php |
||
15 | class ComposerUpdateExtension extends DataExtension |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $jobName = 'CheckComposerUpdatesJob'; |
||
21 | |||
22 | private static $db = [ |
||
|
|||
23 | 'LatestVersion' => 'Varchar', |
||
24 | ]; |
||
25 | |||
26 | private static $summary_fields = [ |
||
27 | 'LatestVersion', |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * Automatically schedule a self update job on dev/build |
||
32 | */ |
||
33 | public function requireDefaultRecords() |
||
39 | |||
40 | /** |
||
41 | * Return the name of the related job |
||
42 | * |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getJobName() |
||
49 | } |
||
50 |
This check marks private properties in classes that are never used. Those properties can be removed.