ucp_pmsearch_info::module()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 9
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 11
ccs 0
cts 11
cp 0
crap 2
rs 9.9666
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