Travis   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfiguration() 0 4 1
1
<?php
2
/**
3
 * Travis CI plugin for HiDev.
4
 *
5
 * @link      https://github.com/hiqdev/hidev-travis
6
 * @package   hidev-travis
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\travis\components;
12
13
/**
14
 * Travis CI.
15
 * @author Andrii Vasyliev <[email protected]>
16
 */
17
class Travis extends \hidev\base\Component
18
{
19
    public $before_install;
20
    public $install;
21
    public $before_script;
22
    public $script;
23
    public $after_success;
24
    public $after_failure;
25
    public $after_script;
26
27
    public function getConfiguration()
28
    {
29
        return $this->take('.travis.yml');
30
    }
31
}
32