| Total Complexity | 6 |
| Total Lines | 65 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| 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|null |
||
| 34 | */ |
||
| 35 | public $JiraForm = null; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Initialize method |
||
| 39 | * |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | 2 | public function initialize() |
|
| 43 | { |
||
| 44 | 2 | parent::initialize(); |
|
| 45 | |||
| 46 | 2 | $this->humanName = __('Task'); |
|
| 47 | 2 | $this->JiraForm = new JiraForm(); |
|
| 48 | 2 | } |
|
| 49 | |||
| 50 | /** |
||
| 51 | * The html form. |
||
| 52 | * |
||
| 53 | * @return \Cake\Http\Response|null Redirects on success. |
||
| 54 | */ |
||
| 55 | 1 | public function add(): ?Response |
|
| 79 | } |
||
| 80 | |||
| 81 | /** |
||
| 82 | * The thank you page after they've submitted their report. |
||
| 83 | * |
||
| 84 | * @return void |
||
| 85 | */ |
||
| 86 | 1 | public function thankyou() |
|
| 88 | // |
||
| 89 | 1 | } |
|
| 91 |