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

@@ -18,8 +18,7 @@ if (strpos($_SERVER['PATH_INFO'], 'debug')) {
ini_set('display_startup_errors', 1);
ini_set('log_errors', 1);
ini_set('error_reporting', E_ALL);
}
else {
} else {
$debug = false;
ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
@@ -47,7 +46,6 @@ if (!empty($report) && file_exists("includes/reports/$report.csv.inc.php")) {
foreach ($csv as $line) {
echo implode(',', $line)."\n";
}
}
else {
} else {
echo "Report not found.\n";
}