CodeceptionYmlGoal   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A actionLoad() 0 5 1
1
<?php
2
3
/*
4
 * Codeception plugin for HiDev
5
 *
6
 * @link      https://github.com/hiqdev/hidev-codeception
7
 * @package   hidev-codeception
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\codeception\goals;
13
14
/**
15
 * Goal for codeception.yml config file.
16
 */
17
class CodeceptionYmlGoal extends \hidev\controllers\FileController
18
{
19
    protected $_file = 'codeception.yml';
20
21
    public function actionLoad()
22
    {
23
        $this->module->runRequest('codeception/bootstrap');
24
        parent::actionLoad();
25
    }
26
}
27