| Total Complexity | 6 |
| Total Lines | 67 |
| Duplicated Lines | 0 % |
| Coverage | 76.19% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class AppController extends BaseController |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Human name of this object. |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $humanName = ''; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * The form object. |
||
| 33 | * @var object |
||
| 34 | */ |
||
| 35 | public $JiraForm; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Initialize method |
||
| 39 | * |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | 2 | public function initialize(): void |
|
| 43 | { |
||
| 44 | 2 | parent::initialize(); |
|
| 45 | |||
| 46 | 2 | $this->modelClass = false; |
|
| 47 | |||
| 48 | 2 | $this->humanName = __('Task'); |
|
| 49 | 2 | $this->JiraForm = new JiraForm(); |
|
| 50 | 2 | } |
|
| 51 | |||
| 52 | /** |
||
| 53 | * The html form. |
||
| 54 | * |
||
| 55 | * @return \Cake\Http\Response|null Redirects on success. |
||
| 56 | */ |
||
| 57 | 1 | public function add(): ?\Cake\Http\Response |
|
| 81 | } |
||
| 82 | |||
| 83 | /** |
||
| 84 | * The thank you page after they've submitted their report. |
||
| 85 | * |
||
| 86 | * @return void |
||
| 87 | */ |
||
| 88 | 1 | public function thankyou(): void |
|
| 90 | // |
||
| 91 | 1 | } |
|
| 93 |