Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
2 | class Close_Button extends Plugin { |
||
3 | private $host; |
||
4 | |||
5 | public function init($host) { |
||
6 | $this->host = $host; |
||
7 | |||
8 | $host->add_hook($host::HOOK_ARTICLE_BUTTON, $this); |
||
9 | } |
||
10 | |||
11 | public function about() { |
||
15 | } |
||
16 | |||
17 | public function get_css() { |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
23 | */ |
||
24 | public function hook_article_button($line) { |
||
32 | } |
||
33 | |||
34 | public function api_version() { |
||
39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.