Completed
Push — master ( 050438...0a0307 )
by Matt
19s
created

ext   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 10
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A is_enableable() 0 4 1
1
<?php
2
/**
3
 *
4
 * Advertisement management. An extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2017 phpBB Limited <https://www.phpbb.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace phpbb\ads;
12
13
class ext extends \phpbb\extension\base
14
{
15
	/**
16
	 * {@inheritdoc}
17
	 */
18
	public function is_enableable()
19
	{
20
		return phpbb_version_compare(PHPBB_VERSION, '3.1.6', '>=');
21
	}
22
}
23