Passed
Push — master ( 360e2b...e8c113 )
by Dark❶
04:59 queued 04:44
created

friendlist_info   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 9
c 1
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 10 1
1
<?php
2
/**
3
 *
4
 * Member Avatar & Status [MAS]. An extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2018-2020, Dark❶ [dark1]
7
 * @license GNU General Public License, version 2 (GPL-2.0-only)
8
 *
9
 */
10
11
namespace dark1\memberavatarstatus\acp;
12
13
/**
14
 * Member Avatar & Status [MAS] ACP module info.
15
 */
16
class friendlist_info
17
{
18
	public function module()
19
	{
20
		return array(
21
			'filename'	=> '\dark1\memberavatarstatus\acp\friendlist_module',
22
			'title'		=> 'ACP_MAS_TITLE',
23
			'modes'		=> array(
24
				'friendlist'	=> array(
25
						'title'	=> 'ACP_MAS_MODE_FRIENDLIST',
26
						'auth'	=> 'ext_dark1/memberavatarstatus && acl_a_board',
27
						'cat'	=> array('ACP_MAS_TITLE')
28
				),
29
			),
30
		);
31
	}
32
}
33