Apply "Squiz" code style on old (pre-2014) files

This commit is contained in:
Job Snijders
2015-07-11 16:12:35 +02:00
parent e4f4eb44dc
commit ebd0f6fc35
539 changed files with 13587 additions and 13219 deletions
@@ -1,21 +1,18 @@
<?php
include("includes/graphs/common.inc.php");
require 'includes/graphs/common.inc.php';
$scale_min = 0;
$ds = "stratum";
$colour_area = "FFCECE";
$colour_line = "880000";
$colour_area_max = "FFCCCC";
$ds = 'stratum';
$colour_area = 'FFCECE';
$colour_line = '880000';
$colour_area_max = 'FFCCCC';
$graph_max = 0;
$unit_text = "Stratum";
$ntpdserver_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/app-ntpdserver-".$app['app_id'].".rrd";
$unit_text = 'Stratum';
$ntpdserver_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-ntpdserver-'.$app['app_id'].'.rrd';
if (is_file($ntpdserver_rrd))
{
$rrd_filename = $ntpdserver_rrd;
if (is_file($ntpdserver_rrd)) {
$rrd_filename = $ntpdserver_rrd;
}
include("includes/graphs/generic_simplex.inc.php");
?>
require 'includes/graphs/generic_simplex.inc.php';