FeatureRequestsController::initialize()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 6
ccs 4
cts 4
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * FeatureRequestsController
6
 */
7
8
namespace Fr3nch13\Jira\Controller;
9
10
use Fr3nch13\Jira\Form\FeatureRequestForm as JiraForm;
11
12
/**
13
 * Feature Requests Controller
14
 *
15
 * Frontend for submitting feature requests to Jira.
16
 */
17
18
class FeatureRequestsController extends AppController
19
{
20
    /**
21
     * Initialize method
22
     *
23
     * @return void
24
     */
25 4
    public function initialize(): void
26
    {
27 4
        parent::initialize();
28
29 4
        $this->humanName = __('Feature Request');
30 4
        $this->JiraForm = new JiraForm();
31
    }
32
}
33