Module   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 12
ccs 3
cts 3
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * ReportingCloud Zend Framework 3 Module
6
 *
7
 * Zend Framework 3 Module for ReportingCloud Web API. Authored and supported by Text Control GmbH.
8
 *
9
 * @link      https://www.reporting.cloud to learn more about ReportingCloud
10
 * @link      https://git.io/Je5US for the canonical source repository
11
 * @license   https://github.com/TextControl/txtextcontrol-reportingcloud-php-zf-module/blob/master/LICENSE.md
12
 * @copyright © 2020 Text Control GmbH
13
 */
14
15
namespace TxTextControl\ReportingCloud;
16
17
/**
18
 * Class Module
19
 *
20
 * @package TxTextControl\ReportingCloud
21
 * @author  Jonathan Maron (@JonathanMaron)
22
 */
23
class Module
24
{
25
    /**
26
     * Return the Zend Framework 3 module configuration array
27
     *
28
     * @return array
29
     */
30 8
    public function getConfig()
31
    {
32 8
        $filename = dirname(__FILE__, 2) . '/config/module.config.php';
33
34 8
        return (array) include $filename;
35
    }
36
}
37