mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Apply fixes from StyleCI (#12124)
This commit is contained in:
@@ -40,7 +40,7 @@ PowerNet-MIB::mtrapargsInteger.0 2
|
||||
PowerNet-MIB::mtrapargsString.0 \"An outlet has turned on. If the outlet number is 0, then all outlets have turned on.\"
|
||||
SNMPv2-MIB::snmpTrapEnterprise.0 PowerNet-MIB::apc";
|
||||
|
||||
$message = "APC PDU: Outlet has turned off: 2";
|
||||
$message = 'APC PDU: Outlet has turned off: 2';
|
||||
\Log::shouldReceive('event')->once()->with($message, $device->device_id, 'trap', 4);
|
||||
|
||||
$trap = new Trap($trapText);
|
||||
@@ -59,7 +59,7 @@ PowerNet-MIB::mtrapargsInteger.0 2
|
||||
PowerNet-MIB::mtrapargsString.0 \"An outlet has turned on. If the outlet number is 0, then all outlets have turned on.\"
|
||||
SNMPv2-MIB::snmpTrapEnterprise.0 PowerNet-MIB::apc";
|
||||
|
||||
$message = "APC PDU: Outlet has been turned on: 2";
|
||||
$message = 'APC PDU: Outlet has been turned on: 2';
|
||||
\Log::shouldReceive('event')->once()->with($message, $device->device_id, 'trap', 4);
|
||||
|
||||
$trap = new Trap($trapText);
|
||||
@@ -78,7 +78,7 @@ PowerNet-MIB::mtrapargsInteger.0 2
|
||||
PowerNet-MIB::mtrapargsString.0 \"An outlet has rebooted. If the outlet number is 0, then all outlets have rebooted.\"
|
||||
SNMPv2-MIB::snmpTrapEnterprise.0 PowerNet-MIB::apc";
|
||||
|
||||
$message = "APC PDU: Outlet has rebooted: 2";
|
||||
$message = 'APC PDU: Outlet has rebooted: 2';
|
||||
\Log::shouldReceive('event')->once()->with($message, $device->device_id, 'trap', 4);
|
||||
|
||||
$trap = new Trap($trapText);
|
||||
|
Reference in New Issue
Block a user