mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix style issues (#10057)
This commit is contained in:
@@ -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'];
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user