| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 15 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | View Code Duplication | public function update_data() |
|
|
1 ignored issue
–
show
|
|||
| 37 | { |
||
| 38 | return array( |
||
| 39 | array('config_text.add', array('phpbb_admanagement_hide_groups', '[]')), |
||
| 40 | |||
| 41 | array('module.add', array( |
||
| 42 | 'acp', |
||
| 43 | 'ACP_ADMANAGEMENT_TITLE', |
||
| 44 | array( |
||
| 45 | 'module_basename' => '\phpbb\admanagement\acp\main_module', |
||
| 46 | 'modes' => array('settings'), |
||
| 47 | ), |
||
| 48 | )), |
||
| 49 | ); |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.