1 | <?php |
||
18 | class CheckComposerUpdatesExtension extends Extension |
||
19 | { |
||
20 | private static $dependencies = [ |
||
|
|||
21 | 'UpdateChecker' => '%$BringYourOwnIdeas\\UpdateChecker\\UpdateChecker', |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * @var UpdateChecker |
||
26 | */ |
||
27 | protected $updateChecker; |
||
28 | |||
29 | /** |
||
30 | * Runs the actual steps to verify if there are updates available |
||
31 | * |
||
32 | * @param array[] $installedPackageList |
||
33 | */ |
||
34 | public function updatePackageInfo(array &$installedPackageList) |
||
60 | |||
61 | /** |
||
62 | * @param UpdateChecker $updateChecker |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setUpdateChecker(UpdateChecker $updateChecker) |
||
70 | |||
71 | /** |
||
72 | * @return UpdateChecker |
||
73 | */ |
||
74 | public function getUpdateChecker() |
||
78 | } |
||
79 |
This check marks private properties in classes that are never used. Those properties can be removed.