ucp_pmsearch_info   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 10
c 1
b 0
f 0
dl 0
loc 13
ccs 0
cts 11
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A module() 0 11 1
1
<?php
2
3
/**
4
*
5
* @package Anavaro.com PM Search
6
* @copyright (c) 2014 Lucifer
7
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
8
*
9
*/
10
11
/**
12
* @ignore
13
*/
14
15
namespace anavaro\pmsearch\ucp;
16
17
class ucp_pmsearch_info
18
{
19
	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...
20
	{
21
		return array(
22
			'filename' => '\anavaro\pmsearch\ucp\ucp_pmsearch_module',
23
			'title' => 'PMSEARCH_TITLE',
24
			'version' => '1.0.0',
25
			'modes' => array(
26
				'search' => array(
27
					'title' => 'PMSEARCH_TITLE',
28
					'auth' => 'ext_anavaro/pmsearch',
29
					'cat' => array('UCP_PM')
30
				),
31
			),
32
		);
33
	}
34
}
35