mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now. Fixed all errors, left most warnings.
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user