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