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

@@ -11,7 +11,7 @@
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (defined('show_settings')) {
if (defined('SHOW_SETTINGS')) {
$current_mode = isset($widget_settings['mode']) ? $widget_settings['mode'] : 0;
$current_width = isset($widget_settings['tile_width']) ? $widget_settings['tile_width'] : 10;
@@ -98,7 +98,6 @@ if (defined('show_settings')) {
<label class="label '.$deviceLabel.' widget-availability label-font-border">'.$deviceState.'</label>
</a>';
}
}
}
@@ -186,4 +185,4 @@ if (defined('show_settings')) {
$temp_header[] = '<br style="clear:both;">';
$common_output = array_merge($temp_header, $temp_output);
}
}