FeatureRequestForm   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 14
ccs 3
cts 3
cp 1
rs 10
c 2
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * FeatureRequestForm
6
 */
7
8
namespace Fr3nch13\Jira\Form;
9
10
use Cake\Event\EventManager;
11
12
/**
13
 * Feature Request Form
14
 *
15
 * Used to submit a feature request to Jira.
16
 */
17
class FeatureRequestForm extends AppForm
18
{
19
    /**
20
     * Constructor
21
     *
22
     * @param \Cake\Event\EventManager|null $eventManager The event manager.
23
     *  Defaults to a new instance.
24
     * @return void
25
     */
26 4
    public function __construct(?EventManager $eventManager = null)
27
    {
28 4
        $this->issueType = 'FeatureRequest';
29
30 4
        parent::__construct($eventManager);
31
    }
32
}
33