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:
Tony Murray
2023-08-05 12:12:36 -05:00
committed by GitHub
parent 9382959c8c
commit d1b7004fef
172 changed files with 591 additions and 473 deletions

View 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;
}