Completed
Push — master ( f64edb...b0dbbc )
by Andrii
04:34
created

PhpCsController::getTemplate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * PHP-CS-Fixer plugin for HiDev
5
 *
6
 * @link      https://github.com/hiqdev/hidev-php-cs-fixer
7
 * @package   hidev-php-cs-fixer
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hidev\phpcsfixer\controllers;
13
14
/**
15
 * Goal for .php_cs (php-cs-fixer config) file.
16
 */
17
class PhpCsController extends \hidev\controllers\TemplateController
18
{
19
    public function getTemplate()
20
    {
21
        return 'php-cs.twig';
22
    }
23
24
    public function getFixer()
25
    {
26
        return $this->takeGoal('php-cs-fixer');
27
    }
28
}
29