Completed
Push — master ( bf4e4b...f7a064 )
by Andrii
12:12
created

ScrutinizerYamlController::actionIndex()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * Scrutinizer plugin for HiDev
5
 *
6
 * @link      https://github.com/hiqdev/hidev-scrutinizer
7
 * @package   hidev-scrutinizer
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\scrutinizer\console;
13
14
/**
15
 * `.scrutinizer.yml` config file.
16
 */
17
class ScrutinizerYamlController extends \hidev\base\Controller
18
{
19
    public function actionIndex()
20
    {
21
        $this->take('.scrutinizer.yml')->save();
22
    }
23
}
24