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

This commit is contained in:
Job Snijders
2015-07-10 13:36:21 +02:00
parent e4f4eb44dc
commit ebd0f6fc35
539 changed files with 13591 additions and 13223 deletions

View File

@@ -1,10 +1,8 @@
<?php
preg_match("/v(.*)/", $poll_device['sysDescr'], $matches);
preg_match('/v(.*)/', $poll_device['sysDescr'], $matches);
$version = (isset($matches[1]) ? $matches[1] : "");
//$hardware = "Still need to figger hardware out!";
//$serial = "Still need to figger serial out!";
//$features = "Still need to figger features out!";
?>
$version = (isset($matches[1]) ? $matches[1] : '');
// $hardware = "Still need to figger hardware out!";
// $serial = "Still need to figger serial out!";
// $features = "Still need to figger features out!";