Graphing cleanup (#14492)

* WIP

* Fixes and cleanups

* Move parseAtTime to Time util class

* lint fixes, explicitly define variables

* Style fixes
This commit is contained in:
Tony Murray
2022-10-28 08:06:29 -05:00
committed by GitHub
parent d5fcf53e01
commit 4b65dc41d2
16 changed files with 420 additions and 308 deletions

View File

@@ -5411,22 +5411,12 @@ parameters:
path: LibreNMS/Util/GitHub.php
-
message: "#^Method LibreNMS\\\\Util\\\\Graph\\:\\:getOverviewGraphsForDevice\\(\\) has no return type specified\\.$#"
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: LibreNMS/Util/Graph.php
-
message: "#^Method LibreNMS\\\\Util\\\\Graph\\:\\:getOverviewGraphsForDevice\\(\\) has parameter \\$device with no type specified\\.$#"
count: 1
path: LibreNMS/Util/Graph.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: LibreNMS/Util/Graph.php
-
message: "#^Variable \\$rrd_filename in isset\\(\\) always exists and is always null\\.$#"
message: "#^Variable \\$rrd_options in empty\\(\\) always exists and is always falsy\\.$#"
count: 1
path: LibreNMS/Util/Graph.php