Apply fixes from StyleCI (#12120)

This commit is contained in:
Jellyfrog
2020-09-21 15:40:17 +02:00
committed by GitHub
parent 77c531527c
commit 82f43cb98d
1733 changed files with 18337 additions and 18540 deletions
@@ -2,14 +2,14 @@
require 'includes/html/graphs/common.inc.php';
$rrd_filename = rrd_name($device['hostname'], array('app', 'drbd', $app['app_instance']));
$rrd_filename = rrd_name($device['hostname'], ['app', 'drbd', $app['app_instance']]);
$array = array(
'lo' => 'Local I/O',
'pe' => 'Pending',
'ua' => 'UnAcked',
'ap' => 'App Pending',
);
$array = [
'lo' => 'Local I/O',
'pe' => 'Pending',
'ua' => 'UnAcked',
'ap' => 'App Pending',
];
$i = 0;
if (rrdtool_check_rrd_exists($rrd_filename)) {
@@ -28,8 +28,8 @@ if (rrdtool_check_rrd_exists($rrd_filename)) {
echo "file missing: $file";
}
$colours = 'mixed';
$nototal = 0;
$colours = 'mixed';
$nototal = 0;
$unit_text = '';
require 'includes/html/graphs/generic_multi_simplex_seperated.inc.php';