Fix sensor discovery fetch issue (#15193)

* Fix sensor discovery fetch issue

* value is not in an array

* Fix type

* remove exception...

* Update HarmonyEnhanced

* update test data
This commit is contained in:
Tony Murray
2023-08-04 06:25:19 -05:00
committed by GitHub
parent 65b4db8172
commit 523e76db71
6 changed files with 53 additions and 73 deletions

View File

@@ -95,11 +95,6 @@ parameters:
count: 1
path: LibreNMS/Modules/Ospf.php
-
message: "#^Parameter \\#8 \\$multiplier of class LibreNMS\\\\Device\\\\WirelessSensor constructor expects int, null given\\.$#"
count: 2
path: LibreNMS/OS/ArrisDsr4410md.php
-
message: "#^Variable \\$sensors in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
@@ -110,11 +105,6 @@ parameters:
count: 2
path: LibreNMS/OS/Ceraos.php
-
message: "#^Parameter \\#8 \\$multiplier of class LibreNMS\\\\Device\\\\WirelessSensor constructor expects int, null given\\.$#"
count: 3
path: LibreNMS/OS/HarmonyEnhanced.php
-
message: "#^Parameter \\#16 \\$entPhysicalIndex of class LibreNMS\\\\Device\\\\WirelessSensor constructor expects float\\|int\\|null, string given\\.$#"
count: 1