Completed
Push — master ( 375de1...c13e1e )
by Andrii
13:21
created

VcsignoreController::actionLoad()   A

Complexity

Conditions 4
Paths 6

Size

Total Lines 13
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 20

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 13
ccs 0
cts 13
cp 0
rs 9.2
c 1
b 0
f 0
cc 4
eloc 9
nc 6
nop 0
crap 20
1
<?php
2
/**
3
 * Automation tool mixed with code generator for easier continuous development
4
 *
5
 * @link      https://github.com/hiqdev/hidev
6
 * @package   hidev
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hidev\controllers;
12
13
/**
14
 * VCS ignore file generation.
15
 */
16
class VcsignoreController extends \hidev\base\Controller
17
{
18
    public function actionIndex()
19
    {
20
        $this->take('vcsignore')->save();
21
    }
22
}
23