Completed
Push — develop ( d3f8ea...82d2cc )
by Daniel
09:33
created

ext   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
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 8
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A is_enableable() 0 5 1
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2013 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\sitemaker;
11
12
class ext extends \phpbb\extension\base
13
{
14
	public function is_enableable()
15
	{
16
		$config = $this->container->get('config');
17
		return phpbb_version_compare($config['version'], '3.2.1', '>=');
18
	}
19
}
20