mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Severity Enum (#14620)
* Severity Enum Replace old Alert constants * Fix whitespace * Additional uses * style fixes * Fix test too * More missed locations * More
This commit is contained in:
13
LibreNMS/Enum/Severity.php
Normal file
13
LibreNMS/Enum/Severity.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace LibreNMS\Enum;
|
||||
|
||||
enum Severity: int
|
||||
{
|
||||
case Unknown = 0;
|
||||
case Ok = 1;
|
||||
case Info = 2;
|
||||
case Notice = 3;
|
||||
case Warning = 4;
|
||||
case Error = 5;
|
||||
}
|
Reference in New Issue
Block a user