| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function rules() |
||
| 25 | { |
||
| 26 | return array_merge(parent::rules(), [ |
||
| 27 | [['no_suexec', 'allow_scripts', 'dont_enable_ssi'], 'boolean'], |
||
| 28 | [ |
||
| 29 | [ |
||
| 30 | 'id', |
||
| 31 | 'no_suexec', 'allow_scripts', 'dont_enable_ssi', |
||
| 32 | 'port', 'global_apache_conf', 'global_nginx_conf', |
||
| 33 | 'apache_conf', 'nginx_conf', 'nginx_listen', |
||
| 34 | 'domain_prefix', 'docroot_postfix', 'cgibin_postfix', |
||
| 35 | ], |
||
| 36 | 'safe', |
||
| 37 | ], |
||
| 38 | ]); |
||
| 39 | } |
||
| 40 | |||
| 50 |