acp_info   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 14 1
1
<?php
2
/**
3
 *
4
 * Ajax Shoutbox extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace paul999\ajaxshoutbox\acp;
12
13
class acp_info {
14
	function module()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
15
	{
16
		return array(
17
			'filename'	=> '\paul999\ajaxshoutbox\acp\acp_module',
18
			'title'		=> 'ACP_AJAX_SHOUTBOX',
19
			'modes'		=> array(
20
				'settings'	=> array(
21
					'title' => 'ACP_AJAX_SHOUTBOX_SETTINGS',
22
					'auth' => 'ext_paul999/ajaxshoutbox && acl_a_board',
23
					'cat' => array('ACP_AJAX_SHOUTBOX')
24
				),
25
			),
26
		);
27
	}
28
}
29