PSR2 Cleanup: /html edition

Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
This commit is contained in:
Tony Murray
2016-08-18 20:28:22 -05:00
parent f0c82498b5
commit 8c639aa5a4
468 changed files with 6605 additions and 7629 deletions

View File

@@ -13,7 +13,7 @@
*/
if (is_admin() === false) {
header('Content-type: text/plain');
header('Content-type: text/plain');
die('ERROR: You need to be admin');
}
@@ -31,6 +31,6 @@ if (is_numeric($alert_id) && $alert_id > 0) {
'proc' => $rule['proc'],
'rules' => $rule_split,
);
header('Content-type: application/json');
header('Content-type: application/json');
echo _json_encode($output);
}