fix style issues (#10057)

This commit is contained in:
Tony Murray
2019-04-01 20:03:54 -05:00
committed by GitHub
parent 7615dd5b39
commit a3ef7c3d4a
4 changed files with 15 additions and 14 deletions

View File

@@ -3,7 +3,7 @@
// DELLEMC-OS10-PRODUCTS-MIB // DELLEMC-OS10-PRODUCTS-MIB
$dell_os10_hardware = snmp_get_multi($device, ['os10ChassisType.1', 'os10ChassisHwRev.1', 'os10ChassisServiceTag.1', 'os10ChassisExpServiceCode.1', 'os10ChassisProductSN.1'], '-OQUs', 'DELLEMC-OS10-CHASSIS-MIB'); $dell_os10_hardware = snmp_get_multi($device, ['os10ChassisType.1', 'os10ChassisHwRev.1', 'os10ChassisServiceTag.1', 'os10ChassisExpServiceCode.1', 'os10ChassisProductSN.1'], '-OQUs', 'DELLEMC-OS10-CHASSIS-MIB');
$hardware = $dell_os10_hardware[1]['os10ChassisType']; $hardware = $dell_os10_hardware[1]['os10ChassisType'];
$version = $dell_os10_hardware[1]['os10ChassisHwRev']; $version = $dell_os10_hardware[1]['os10ChassisHwRev'];
$serial = $dell_os10_hardware[1]['os10ChassisProductSN']; $serial = $dell_os10_hardware[1]['os10ChassisProductSN'];
$features = $dell_os10_hardware[1]['os10ChassisServiceTag'] . '/' . $dell_os10_hardware[1]['os10ChassisExpServiceCode']; $features = $dell_os10_hardware[1]['os10ChassisServiceTag'] . '/' . $dell_os10_hardware[1]['os10ChassisExpServiceCode'];

View File

@@ -8,6 +8,7 @@
<exclude-pattern>/html/plugins/*</exclude-pattern> <exclude-pattern>/html/plugins/*</exclude-pattern>
<exclude-pattern>/config.php</exclude-pattern> <exclude-pattern>/config.php</exclude-pattern>
<exclude-pattern>/_ide_helper.php</exclude-pattern> <exclude-pattern>/_ide_helper.php</exclude-pattern>
<exclude-pattern>/_ide_helper_models.php</exclude-pattern>
<rule ref="PSR2" > <rule ref="PSR2" >
<exclude name="Generic.Files.LineLength"/> <exclude name="Generic.Files.LineLength"/>
</rule> </rule>